aboutsummaryrefslogtreecommitdiff
path: root/api/user
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-07 19:37:24 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-07 19:37:24 +0100
commit996f62c4e43818bf3b574d86ad19f994d727f60c (patch)
treec2f3cc901c467293128f0539a646df2cd3fea34a /api/user
parent0fe7edb60f31843a249a728cd3ecf7b35ae747c1 (diff)
multiple simultaneous games :tada:
Diffstat (limited to 'api/user')
-rw-r--r--api/user/info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user/info.py b/api/user/info.py
index afb0720..edb7743 100644
--- a/api/user/info.py
+++ b/api/user/info.py
@@ -19,7 +19,7 @@ def index():
not token:
return "", 400
- if token: id = token_login(token)[0]
+ if token: id = token_login(token)
if username:
user = cursor.execute("select username, user_id, country, type, registered, avatar from users where username = ?", [username]).fetchone()