From be667e46c36824b0eb5fe860ab7a7e9a32d5ecee Mon Sep 17 00:00:00 2001 From: Leander Date: Thu, 10 Aug 2023 06:07:26 +0200 Subject: [PATCH] Update users.py Made the "level" field a string --- api/db/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/db/users.py b/api/db/users.py index 4a6e08a..580364a 100644 --- a/api/db/users.py +++ b/api/db/users.py @@ -30,7 +30,7 @@ async def create(discord_id: str='') -> dict: 'api_key': new_api_key, 'credits': credits_config['start-credits'], 'role': '', - 'level': 0, + 'level': '', 'status': { 'active': True, 'ban_reason': '',