🐛 Fix daily reward lang

This commit is contained in:
xtaodada 2023-07-19 13:02:22 +08:00
parent ca085ef7f7
commit 409e0058f9
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -48,6 +48,7 @@ class DailyRewardClient(BaseClient):
base_url = REWARD_URL.get_url(self.region, self.game or game)
params = params.merge(base_url.params)
params = params.set("lang", lang or self.lang)
if challenge is not None:
headers["x-rpc-challenge"] = challenge