mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-09-29 04:22:42 +02:00
Reformat
This commit is contained in:
@@ -524,8 +524,7 @@ class Sam3Client:
|
||||
# Add credentials based on grant type
|
||||
if grant_type == GRANT_TYPES["REFRESH_TOKEN"]:
|
||||
payload["refresh_token"] = credential1
|
||||
# payload["scope"] = f"{scope} offline_access"
|
||||
payload["scope"] = "tvhubs offline_access"
|
||||
payload["scope"] = f"{scope} offline_access"
|
||||
elif grant_type == GRANT_TYPES["REMOTE_LOGIN"]:
|
||||
payload["auth_req_id"] = credential1
|
||||
payload["auth_req_sec"] = credential2
|
||||
|
||||
Reference in New Issue
Block a user