1
0
Fork 0
forked from bton/matekasse
This commit is contained in:
bton 2024-03-20 19:58:02 +01:00
parent cdbcbea91a
commit fbe6b45050

View file

@ -287,7 +287,7 @@ def create_app(test_config=None):
change = int(request.args.get("change"))
except:
change = preis
db_handler.change_balance(user_id, change)
db_handler.change_balance(userid, change)
socketio.emit("update", "update")
return make_response(json.dumps({"mode":"balance", "username":user[1], "balance":user_new[2]}))
else: