forked from bton/matekasse
api fix
This commit is contained in:
parent
35cfedbb2e
commit
2e328167e8
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -278,7 +278,7 @@ def get_id():
|
|||
c.execute(f"SELECT * FROM users WHERE id={user}")
|
||||
username = c.fetchall()[0][1]
|
||||
conn.commit()
|
||||
return make_response(json({"mode":"2","username":username,"code":"2"}))
|
||||
return make_response(json.dumps({"mode":"2","username":username,"code":"2"}))
|
||||
else:
|
||||
message = "Tag does not exist"
|
||||
finished = queue_item
|
||||
|
|
Loading…
Reference in a new issue