Skip to content

Commit

Permalink
fix: await used outside async function
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxgh committed May 25, 2024
1 parent 50859b6 commit 94cc2fd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/request_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def session_get_name_by_uuid(session, uuid):

if resp.status_code != 200:
return None
await update_usernames(uuid=uuid, username=data["name"])
return data["name"]


Expand Down

0 comments on commit 94cc2fd

Please sign in to comment.