Skip to content

Commit

Permalink
Fix wrong method
Browse files Browse the repository at this point in the history
  • Loading branch information
peprolinbot committed Aug 31, 2023
1 parent 618fce4 commit 0ae13e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions busGal_api/accounts/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0ae13e7

Please sign in to comment.