1
0
Fork 0
forked from bton/matekasse

api in schoen

This commit is contained in:
2000-Trek 2023-07-05 22:46:55 +02:00
parent caef475e72
commit e8d86635c1

View file

@ -290,6 +290,7 @@ def api_change():
db_log.info(f"Changed the balance from user {user[0]} from {user[2]} to {user_new[2]}")
socketio.emit("update", "update")
return make_response(json.dumps({"mode":"balance", "username":user[1], "balance":user[2]}))
return make_response(json.dumps({"mode":"error","error":"043"}))
@app.route("/api/tag_id", methods=['GET'])