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):