diff options
author | 2024-07-16 19:03:49 +0100 | |
---|---|---|
committer | 2024-07-16 19:07:36 +0100 | |
commit | 1276d199e37328f22712af46c27db65ceedcb5d3 (patch) | |
tree | 1c70a1903f666374173e228aeaff259521525b79 /backend/authentication/backend.py | |
parent | Simplify the docker compose build config (diff) |
Use redis for the discord member cache over mongo
Diffstat (limited to 'backend/authentication/backend.py')
-rw-r--r-- | backend/authentication/backend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/authentication/backend.py b/backend/authentication/backend.py index 2512761..c84ba10 100644 --- a/backend/authentication/backend.py +++ b/backend/authentication/backend.py @@ -63,7 +63,7 @@ class JWTAuthenticationBackend(authentication.AuthenticationBackend): user = User( token, user_details, - await discord.get_member(request.state.db, user_details["id"]), + await discord.get_member(user_details["id"]), ) if await user.fetch_admin_status(request.state.db): scopes.append("admin") |