mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-24 15:19:20 +00:00
🐛 Fix TypeError
exception in DailyRewardClient
This commit is contained in:
parent
762c9bc907
commit
b323dc0e64
@ -224,10 +224,10 @@ class DailyRewardClient:
|
||||
headers["x-rpc-validate"] = validate
|
||||
headers["x-rpc-seccode"] = f"{validate}|jordan"
|
||||
|
||||
kwargs.pop("challenge", None)
|
||||
kwargs.pop("validate", None)
|
||||
|
||||
else:
|
||||
raise TypeError(f"{self.region!r} is not a valid region.")
|
||||
|
||||
kwargs.pop("challenge", None)
|
||||
kwargs.pop("validate", None)
|
||||
|
||||
return await self.request(url, method=method, params=params, headers=headers, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user