From 94cc2fd72b6cdd8a3956e5003d15dbe9b3f5cd06 Mon Sep 17 00:00:00 2001 From: Amxgh <86120332+Amxgh@users.noreply.github.com> Date: Sat, 25 May 2024 16:42:26 +0400 Subject: [PATCH] fix: await used outside async function --- src/utils/request_utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/request_utils.py b/src/utils/request_utils.py index e30f605..28c6b5b 100644 --- a/src/utils/request_utils.py +++ b/src/utils/request_utils.py @@ -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"]