From ac466aebddc22c0b3664139ee82bd623a2d5fdeb Mon Sep 17 00:00:00 2001 From: Samuel Cattini-Schultz Date: Fri, 10 May 2024 11:01:50 +1000 Subject: [PATCH] Fix missing typecast to enum --- profiles/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/tasks.py b/profiles/tasks.py index bf21d43..4a1adda 100644 --- a/profiles/tasks.py +++ b/profiles/tasks.py @@ -36,4 +36,4 @@ def update_user(user_id: int, gamemode: int = Gamemode.STANDARD): """ Runs an update for a given user """ - refresh_user_from_api(user_id=user_id, gamemode=gamemode) + refresh_user_from_api(user_id=user_id, gamemode=Gamemode(gamemode))