mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
stripe: Do not place Realm objects into context.
This commit is contained in:
committed by
Tim Abbott
parent
222729728c
commit
33f7da23a0
@@ -5671,7 +5671,8 @@ def downgrade_small_realms_behind_on_payments_as_needed() -> None:
|
||||
billing_session.void_all_open_invoices()
|
||||
context: dict[str, str | Realm] = {
|
||||
"upgrade_url": f"{realm.url}{reverse('upgrade_page')}",
|
||||
"realm": realm,
|
||||
"realm_url": realm.url,
|
||||
"string_id": realm.string_id,
|
||||
}
|
||||
send_email_to_users_with_billing_access_and_realm_owners(
|
||||
"zerver/emails/realm_auto_downgraded",
|
||||
|
||||
Reference in New Issue
Block a user