From 73275306fb57f2711b88fa2a9b6b3f29f6381219 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Tue, 28 Nov 2023 15:28:14 +0000 Subject: [PATCH] Removed unused stuff --- 2023/src/aoc/helper.dart | 5 ----- 1 file changed, 5 deletions(-) diff --git a/2023/src/aoc/helper.dart b/2023/src/aoc/helper.dart index a7c55bc..40f7aaf 100644 --- a/2023/src/aoc/helper.dart +++ b/2023/src/aoc/helper.dart @@ -17,11 +17,6 @@ Future getInput(int year, int day) async { File(filePath).create(recursive: true); var url = Uri.parse('https://adventofcode.com/$year/day/$day/input'); - final Map _headers = { - "Content-Type": "application/json", - "Accept": "application/json", - }; - var response = await http.get(url, headers: getCookieHeaders()); File(filePath).writeAsStringSync(response.body); }