From 0ae13e737b33067925fe07bf6a58fd77c10c3d84 Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Thu, 31 Aug 2023 19:59:08 +0200 Subject: [PATCH] Fix wrong method --- busGal_api/accounts/accounts.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/busGal_api/accounts/accounts.py b/busGal_api/accounts/accounts.py index ce8d056..454302f 100644 --- a/busGal_api/accounts/accounts.py +++ b/busGal_api/accounts/accounts.py @@ -211,9 +211,9 @@ def get_card(self, number: int, months: int = 12) -> Card: :params months: How many months to get `summary_movements` for """ - data = self.rest_adapter.get("/cards/get", - ep_params={"months": months, - "number": number}) + data = self.rest_adapter.post("/cards/get", + data={"months": months, + "number": number}) return _parse_card(data, self)