This commit is contained in:
2000-Trek 2023-06-21 21:40:11 +02:00
parent d3fe363776
commit 6ec799b632
2 changed files with 2 additions and 1 deletions

View file

@ -284,7 +284,7 @@ def get_id():
socketio.emit("update", "upfinished = queue_itemdate") socketio.emit("update", "upfinished = queue_itemdate")
return make_response(json.dumps({"mode":"1", "username":user[1], "balance":user[2]})) return make_response(json.dumps({"mode":"1", "username":user[1], "balance":user[2]}))
socketio.emit("update", "update") socketio.emit("update", "update")
return make_response(json.dumps({"mode":"0","error":"418"})) return make_response(json.dumps({"mode":"0","error":"054"}))
#Documentation #Documentation
@app.route("/documentation") @app.route("/documentation")

View file

@ -21,6 +21,7 @@
<p>043: User does not exists</p> <p>043: User does not exists</p>
<p>352: Timeout</p> <p>352: Timeout</p>
<p>095: Input is not a Number</p> <p>095: Input is not a Number</p>
<P>418: I'm a teapot</P>
</div> </div>
</body> </body>