mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-07-17 10:13:15 -05:00
Fixed ban in OG DeathGarden
This commit is contained in:
parent
17e621c57c
commit
ff990fb86f
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user