From 7fc0d8235468ed6e367cc6f21ddb81e03c992dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Thu, 21 Sep 2023 10:58:33 +0200 Subject: [PATCH] bug in EventDays usage --- api/advent22_api/core/depends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/advent22_api/core/depends.py b/api/advent22_api/core/depends.py index f28cffa..b893f8f 100644 --- a/api/advent22_api/core/depends.py +++ b/api/advent22_api/core/depends.py @@ -33,7 +33,7 @@ async def get_all_event_dates( today=date.today(), begin_month=12, begin_day=1, - events=[day - 1 for day in days], + events=days, close_after=90, )