fixed gateway name

This commit is contained in:
2022-04-20 00:35:09 +02:00
parent 75e8d9e592
commit 77acc768e2
2 changed files with 2 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ class ApiClient:
def get_default_payment_options(self) -> dict:
return get_default_payment_options(get_func=self._GET)
def add_payment_option_to_invoice(self, invoice_id: int, gateway_name: str) -> dict:
def add_payment_option_to_invoice(self, invoice_id: int, gateway_name: str = "stripe") -> dict:
return add_payment_option_to_invoice(
post_func=self._POST, invoice_id=invoice_id, gateway_name=gateway_name
)

View File

@@ -4,7 +4,7 @@ setup(
name="avt_fresh",
author="Zev Averbach",
author_email="zev@averba.ch",
version="0.0.11",
version="0.0.12",
license="MIT",
python_requires=">3.10.0",
keywords="freshbooks API",