From ff990fb86f38a708ee9792165e60ffa36f561b5b Mon Sep 17 00:00:00 2001 From: ZKWolf Date: Fri, 30 Jun 2023 22:17:56 +0200 Subject: [PATCH] Fixed ban in OG DeathGarden --- src/endpoints/matchmaking.py | 2 +- src/endpoints/user_handeling.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/endpoints/matchmaking.py b/src/endpoints/matchmaking.py index b036332..898080d 100644 --- a/src/endpoints/matchmaking.py +++ b/src/endpoints/matchmaking.py @@ -49,7 +49,7 @@ def queue(): count_a = request.json.get("countA") count_b = request.json.get("countB") epoch = datetime.now().timestamp() - match_id = uuid.uuid4() + match_id = str(uuid.uuid4()) user = request.cookies.get("bhvrSession") file_name = "session.match" diff --git a/src/endpoints/user_handeling.py b/src/endpoints/user_handeling.py index 3ebf3f8..910da48 100644 --- a/src/endpoints/user_handeling.py +++ b/src/endpoints/user_handeling.py @@ -297,7 +297,7 @@ def get_ban_info(): try: print("Responded to ban status api call GET") return jsonify({"BanPeriod": None, "BanReason": None, "BanStart": None, "BanEnd": None, - "Confirmed": True}) + "Confirmed": False}) except TimeoutError: print("Timeout error") return jsonify({"status": "error"})