mirror of
https://github.com/TheSmallHanCat/sora2api.git
synced 2026-05-07 17:47:36 +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")
|
debug_logger.log_warning("PoW calculation failed, using error token")
|
||||||
|
|
||||||
token_payload = {
|
token_payload = {
|
||||||
"p": final_pow_token,
|
"p": final_pow_token + "~S",
|
||||||
"t": resp.get("turnstile", {}).get("dx", ""),
|
"t": resp.get("turnstile", {}).get("dx", ""),
|
||||||
"c": resp.get("token", ""),
|
"c": resp.get("token", ""),
|
||||||
"id": req_id,
|
"id": req_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user