Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

stripe: Use comma for collection method Literal values.

Lauryn Menard1969698cf6b7
diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.py
index 67536936d85..f61535a8307 100644
--- a/corporate/lib/stripe.py
+++ b/corporate/lib/stripe.py
@@ -914,7 +914,7 @@ class BillingSession(ABC):
)
if charge_automatically:
- collection_method: Literal["charge_automatically" | "send_invoice"] = (
+ collection_method: Literal["charge_automatically", "send_invoice"] = (
"charge_automatically"
)
else:
@@ -3131,7 +3131,7 @@ class BillingSession(ABC):
)
if plan.charge_automatically:
- collection_method: Literal["charge_automatically" | "send_invoice"] = (
+ collection_method: Literal["charge_automatically", "send_invoice"] = (
"charge_automatically"
)
days_until_due = None