mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-03-21 17:54:09 -05:00
Removed not needed Data from BAN and CURRENCY
This commit is contained in:
parent
2ce43f7f29
commit
29fac2ff83
|
|
@ -1223,11 +1223,7 @@ def ban_status():
|
|||
"BanEnd": ban_data["ban_expire"],
|
||||
"Confirmed": False, "Pending": False}})
|
||||
elif not ban_data["is_banned"]:
|
||||
return jsonify({"IsBanned": ban_data["is_banned"], "BanInfo": {"BanPeriod": 0,
|
||||
"BanReason": "None",
|
||||
"BanStart": 0,
|
||||
"BanEnd": 0,
|
||||
"Confirmed": False, "Pending": False}})
|
||||
return jsonify({"IsBanned": ban_data["is_banned"]})
|
||||
else:
|
||||
return jsonify({"status": "error"})
|
||||
except TimeoutError:
|
||||
|
|
@ -1268,11 +1264,7 @@ def wallet_currencies():
|
|||
{"Currency": "CurrencyB", "Balance": currencies["currency_blood_cells"],
|
||||
"CurrencyGroup": "SoftCurrencyGroup", "LastRefillTimeStamp": "1684862187"},
|
||||
{"Currency": "CurrencyC", "Balance": currencies["currency_ink_cells"],
|
||||
"CurrencyGroup": "SoftCurrencyGroup", "LastRefillTimeStamp": "1684862187"},
|
||||
{"Currency": "HARD_CURRENCY", "Balance": 6969,
|
||||
"CurrencyGroup": "HardCurrencyGroup", "LastRefillTimeStamp": "1684862187"},
|
||||
{"Currency": "PROGRESSION_CURRENCY", "Balance": 10000,
|
||||
"CurrencyGroup": "HardCurrencyGroup", "LastRefillTimeStamp": "1684862187"}]})
|
||||
"CurrencyGroup": "SoftCurrencyGroup", "LastRefillTimeStamp": "1684862187"}]})
|
||||
except TypeError:
|
||||
return jsonify({"status": "error"})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user