This commit is contained in:
2000-Trek 2023-06-21 21:11:25 +02:00
parent 35cfedbb2e
commit 2e328167e8

View file

@ -278,7 +278,7 @@ def get_id():
c.execute(f"SELECT * FROM users WHERE id={user}") c.execute(f"SELECT * FROM users WHERE id={user}")
username = c.fetchall()[0][1] username = c.fetchall()[0][1]
conn.commit() conn.commit()
return make_response(json({"mode":"2","username":username,"code":"2"})) return make_response(json.dumps({"mode":"2","username":username,"code":"2"}))
else: else:
message = "Tag does not exist" message = "Tag does not exist"
finished = queue_item finished = queue_item