mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Switch to v2 credits schema
This commit is contained in:
parent
ad318296dc
commit
13a0500e86
@ -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"]:
|
||||
|
Loading…
Reference in New Issue
Block a user