Skip to content

Commit

Permalink
Merge pull request #47 from Syriiin/fix/typecast
Browse files Browse the repository at this point in the history
Fix missing typecast to enum
  • Loading branch information
Syriiin authored May 10, 2024
2 parents 38c1fb1 + ac466ae commit fdb05ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion profiles/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit fdb05ba

Please sign in to comment.