diff options
| author | Bobby <[email protected]> | 2024-09-17 11:23:45 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-09-17 11:23:45 -0400 |
| commit | aa6bd3d74961a4950dab9167159540939bef45f2 (patch) | |
| tree | 7def10d31988e5ed2280dfe63df159bd3a058556 /authentication | |
| parent | 73b2fe9b15d82ca765ece90b5418620d49bb0eb3 (diff) | |
| download | yugen-aa6bd3d74961a4950dab9167159540939bef45f2.tar.xz yugen-aa6bd3d74961a4950dab9167159540939bef45f2.zip | |
Fixed Avatar
Diffstat (limited to 'authentication')
| -rw-r--r-- | authentication/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/authentication/utils.py b/authentication/utils.py index ba4fa95..b106c80 100644 --- a/authentication/utils.py +++ b/authentication/utils.py @@ -187,8 +187,8 @@ def authenticate_user(exchange_response): "discord_username": discord_user["username"], "discord_avatar": discord_user["avatar"] if discord_user["avatar"] is not None else "", "discord_banner": discord_user["banner"] if discord_user["banner"] is not None else "", - "discord_global_name": discord_user["global_name"], - "discord_guild_name": discord_user["guild_name"], + "discord_global_name": discord_user["global_name"] if discord_user["global_name"] is not None else "", + "discord_guild_name": discord_user["guild_name"] if discord_user["guild_name"] is not None else "", }, ) |
