Fix drink_type 'None'

This commit is contained in:
Moritz
2025-06-08 00:38:38 +02:00
committed by GitHub
parent 202ec42794
commit 408392f5b6
2 changed files with 4 additions and 5 deletions

View File

@@ -497,6 +497,7 @@ def stats(request: Request):
"stats_drink_types": drink_types,
})
def get_is_postpaid(user_authentik: dict) -> bool:
"""
Determine if a user is postpaid based on their authentication information.