From 6ec799b632d5d7438776b00a555eca33bbf3d697 Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Wed, 21 Jun 2023 21:40:11 +0200 Subject: [PATCH] fix --- main.py | 2 +- templates/documentation.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 113305f..d9f6329 100644 --- a/main.py +++ b/main.py @@ -284,7 +284,7 @@ def get_id(): socketio.emit("update", "upfinished = queue_itemdate") return make_response(json.dumps({"mode":"1", "username":user[1], "balance":user[2]})) socketio.emit("update", "update") - return make_response(json.dumps({"mode":"0","error":"418"})) + return make_response(json.dumps({"mode":"0","error":"054"})) #Documentation @app.route("/documentation") diff --git a/templates/documentation.html b/templates/documentation.html index 0a7f9c3..1c2d163 100644 --- a/templates/documentation.html +++ b/templates/documentation.html @@ -21,6 +21,7 @@

043: User does not exists

352: Timeout

095: Input is not a Number

+

418: I'm a teapot