Fixed ban in OG DeathGarden

This commit is contained in:
ZKWolf 2023-06-30 22:17:56 +02:00
parent 17e621c57c
commit ff990fb86f
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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"})