mirror of
https://github.com/TheSmallHanCat/sora2api.git
synced 2026-02-04 10:14:41 +08:00
Append '~S' to final_pow_token in token_payload
This commit is contained in:
@@ -146,7 +146,7 @@ class SoraClient:
|
||||
debug_logger.log_warning("PoW calculation failed, using error token")
|
||||
|
||||
token_payload = {
|
||||
"p": final_pow_token,
|
||||
"p": final_pow_token + "~S",
|
||||
"t": resp.get("turnstile", {}).get("dx", ""),
|
||||
"c": resp.get("token", ""),
|
||||
"id": req_id,
|
||||
|
||||
Reference in New Issue
Block a user