fix
This commit is contained in:
parent
d3fe363776
commit
6ec799b632
2 changed files with 2 additions and 1 deletions
2
main.py
2
main.py
|
@ -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")
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue