Skip to content

Commit

Permalink
use post method instead of put for retry invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
annvelents committed Aug 27, 2024
1 parent cc037ed commit 577022b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lago_python_client/invoices/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def refresh(self, resource_id: str) -> InvoiceResponse:
)

def retry(self, resource_id: str) -> InvoiceResponse:
api_response: Response = send_put_request(
api_response: Response = send_post_request(
url=make_url(
origin=self.base_url,
path_parts=(self.API_RESOURCE, resource_id, 'retry'),
Expand Down

0 comments on commit 577022b

Please sign in to comment.