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: Remove unused parameter.

Aman Agrawal4b93b0867421
diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.py
index 087532449c3..5eeed9ab6dd 100644
--- a/corporate/lib/stripe.py
+++ b/corporate/lib/stripe.py
@@ -665,7 +665,6 @@ class SponsorshipRequestSessionSpecificContext(TypedDict):
class UpgradePageContext(TypedDict):
customer_name: str
- default_invoice_days_until_due: int
discount_percent: Optional[str]
email: str
exempt_from_license_number_check: bool
@@ -2449,7 +2448,6 @@ class BillingSession(ABC):
flat_discount, flat_discounted_months = self.get_flat_discount_info(customer)
context: UpgradePageContext = {
"customer_name": customer_specific_context["customer_name"],
- "default_invoice_days_until_due": DEFAULT_INVOICE_DAYS_UNTIL_DUE,
"discount_percent": format_discount_percentage(percent_off),
"email": customer_specific_context["email"],
"exempt_from_license_number_check": exempt_from_license_number_check,