Switch to v2 credits schema

This commit is contained in:
Zedifus 2022-08-05 23:38:32 +01:00
parent ad318296dc
commit 13a0500e86

View File

@ -368,7 +368,7 @@ class PanelHandler(BaseHandler):
) as credits_default_local:
try:
remote = requests.get(
"https://craftycontrol.com/credits", allow_redirects=True
"https://craftycontrol.com/credits-v2", allow_redirects=True
)
credits_dict: dict = remote.json()
if not credits_dict["staff"]: