From 577022ba72a675a92d99774a922b4ff6a2d049a9 Mon Sep 17 00:00:00 2001 From: Anna Velentsevich Date: Tue, 27 Aug 2024 14:07:47 +0200 Subject: [PATCH] use post method instead of put for retry invoice --- lago_python_client/invoices/clients.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lago_python_client/invoices/clients.py b/lago_python_client/invoices/clients.py index 3d65f1a..1503429 100644 --- a/lago_python_client/invoices/clients.py +++ b/lago_python_client/invoices/clients.py @@ -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'),