diff --git a/main.py b/main.py index ecb44e1..5ff5bf8 100644 --- a/main.py +++ b/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