mirror of
https://github.com/frappe/lms.git
synced 2026-04-19 22:52:29 +03:00
Merge pull request #2314 from raizasafeel/fix/types
fix: allow None for optional args in get_payment_link
This commit is contained in:
@@ -29,8 +29,8 @@ def get_payment_link(
|
||||
docname: str,
|
||||
address: dict,
|
||||
payment_for_certificate: int,
|
||||
coupon_code: str,
|
||||
country: str,
|
||||
coupon_code: str | None = None,
|
||||
country: str | None = None,
|
||||
):
|
||||
payment_gateway = get_payment_gateway()
|
||||
address = frappe._dict(address)
|
||||
|
||||
Reference in New Issue
Block a user