1
0

fix: compare full date with invite links
Alle Prüfungen waren erfolgreich
continuous-integration/drone/push Build is passing

Dieser Commit ist enthalten in:
2022-02-03 18:42:54 +01:00
Ursprung c99d055fe1
Commit 880c0d1b8f

Datei anzeigen

@ -39,7 +39,7 @@ async def register_invite(
expired = (
dt.fromisoformat(matching_invite["time"])
+ timedelta(days=INVITE_TIME_LIMIT)
).day > dt.now().day
) < dt.now()
if expired:
message = "This invite has expired, sorry."