From 0e6b4800208ed2a95c2063b58762b0a4ecd3f330 Mon Sep 17 00:00:00 2001 From: "suspendedtundra2@gmail.com" Date: Thu, 21 Mar 2024 04:30:59 -0500 Subject: [PATCH] fix: fixed incorrect return statement. --- src/utils/db_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/db_utils.py b/src/utils/db_utils.py index 8be14ba..9157238 100644 --- a/src/utils/db_utils.py +++ b/src/utils/db_utils.py @@ -128,7 +128,7 @@ async def get_invites(inviter_uuid): async def get_db_uuid_username_from_discord_id(discord_id: int): - return (await select_one("SELECT uuid, username from members WHERE discord_id = (?)", (discord_id,)))[0] + return await select_one("SELECT uuid, username from members WHERE discord_id = (?)", (discord_id,)) async def get_db_username_from_uuid(uuid: str):