diff --git a/Website/__init__.py b/Website/__init__.py index 14a64f0..1d9c692 100644 --- a/Website/__init__.py +++ b/Website/__init__.py @@ -289,7 +289,7 @@ def create_app(test_config=None): change = preis db_handler.change_balance(userid, change) socketio.emit("update", "update") - c.execute("SELECT * FROM useres WHERE id=?",[userid]) + c.execute("SELECT * FROM users WHERE id=?",[userid]) return make_response(json.dumps({"mode":"balance", "username":user[1], "balance":c.fetchone()[2]})) else: return make_response(json.dumps({"mode":"error","error":"043"}))