Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
emails: Replace string_id from sponsorship request email context.
Lauryn Menard46dab1beb929
diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.pyindex 5e169f36092..44737e42b50 100644--- a/corporate/lib/stripe.py+++ b/corporate/lib/stripe.py@@ -2245,8 +2245,7 @@ class BillingSession(ABC):context = {"requested_by": user_info["name"],"user_role": user_info["role"],- # TODO: realm_string_id needs to be replaced by something more generic.- "string_id": request_context["realm_string_id"],+ "billing_entity": self.billing_entity_display_name,"support_url": support_url,"organization_type": org_type_display_name,"website": sponsorship_request.org_website,diff --git a/templates/zerver/emails/sponsorship_request.subject.txt b/templates/zerver/emails/sponsorship_request.subject.txtindex 5d057666622..2f65c13fd64 100644--- a/templates/zerver/emails/sponsorship_request.subject.txt+++ b/templates/zerver/emails/sponsorship_request.subject.txt@@ -1 +1 @@-Sponsorship request ({{ organization_type }}) for {{ string_id }}+Sponsorship request ({{ organization_type }}) for {{ billing_entity }}