Removed unused stuff

This commit is contained in:
Sven Heidemann 2023-11-28 15:28:14 +00:00
parent 8e82f6245e
commit 73275306fb

View File

@ -17,11 +17,6 @@ Future<String> getInput(int year, int day) async {
File(filePath).create(recursive: true); File(filePath).create(recursive: true);
var url = Uri.parse('https://adventofcode.com/$year/day/$day/input'); var url = Uri.parse('https://adventofcode.com/$year/day/$day/input');
final Map<String, String> _headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
var response = await http.get(url, headers: getCookieHeaders()); var response = await http.get(url, headers: getCookieHeaders());
File(filePath).writeAsStringSync(response.body); File(filePath).writeAsStringSync(response.body);
} }