Skip to content

Commit

Permalink
fix: fixed incorrect return statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxgh committed Mar 21, 2024
1 parent 7918cd1 commit 0e6b480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/db_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0e6b480

Please sign in to comment.