From cc09ba7ee7f68a0a93e9dc575c013286611bcd9f Mon Sep 17 00:00:00 2001 From: Eriks K Date: Tue, 29 Sep 2020 17:20:53 +0300 Subject: [PATCH] wheeloffortune argument bugfix --- erepublik/access_points.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erepublik/access_points.py b/erepublik/access_points.py index 2c85587..27bcd5e 100644 --- a/erepublik/access_points.py +++ b/erepublik/access_points.py @@ -164,7 +164,7 @@ class ErepublikAnniversaryAPI(CitizenBaseAPI): return self.post(f"{self.url}/main/map-rewards-claim", data=data) def _post_main_wheel_of_fortune_spin(self, cost) -> Response: - return self.post(f"{self.url}/main/wheeloffortune-spin", data={'_token': self.token, "cost": cost}) + return self.post(f"{self.url}/main/wheeloffortune-spin", data={'_token': self.token, "_currentCost": cost}) def _post_main_wheel_of_fortune_build(self) -> Response: return self.post(f"{self.url}/main/wheeloffortune-build", data={'_token': self.token})