We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9a6e4e commit 8a18a8bCopy full SHA for 8a18a8b
server/downloader.ts
@@ -10,7 +10,7 @@ export async function downloadMissingData(solutions: string[]) {
10
const day = missingsolution.slice(3);
11
console.log('Starting download of ' + missingsolution);
12
await fetch(
13
- `https://adventofcode.com/20${year}/day/${day}/input`,
+ `https://adventofcode.com/20${year}/day/${Number(day)}/input`,
14
{
15
headers: {
16
cookie: "session=" + Deno.env.get("AOC_SESSION"),
0 commit comments