diff options
Diffstat (limited to 'api/user/info.py')
-rw-r--r-- | api/user/info.py | 2 |
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() |