fixed
This commit is contained in:
parent
cdbcbea91a
commit
fbe6b45050
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue