mirror of https://github.com/zulip/zulip.git
billing: Set default value of licensed_used to 0 in /billing.
This will otherwise throw error when the billing page is accessed after a plan is expired. A proper followup would be to not show licenses, licenses_used etc if the current plan is on Limited.
This commit is contained in:
parent
8b24d40585
commit
f2640461d8
|
@ -163,6 +163,7 @@ def billing_home(request: HttpRequest) -> HttpResponse:
|
|||
|
||||
plan_name = "Zulip Free"
|
||||
licenses = 0
|
||||
licenses_used = 0
|
||||
renewal_date = ''
|
||||
renewal_cents = 0
|
||||
payment_method = ''
|
||||
|
|
Loading…
Reference in New Issue