upgrade: Use valid form data to fill email context.

This commit is contained in:
Aman Agrawal 2023-11-29 11:51:14 +00:00 committed by Tim Abbott
parent cd7893b1bf
commit d999d18476
1 changed files with 5 additions and 5 deletions

View File

@ -192,11 +192,11 @@ def sponsorship(
"string_id": realm.string_id, "string_id": realm.string_id,
"support_url": support_url, "support_url": support_url,
"organization_type": org_type_display_name, "organization_type": org_type_display_name,
"website": website, "website": sponsorship_request.org_website,
"description": description, "description": sponsorship_request.org_description,
"expected_total_users": expected_total_users, "expected_total_users": sponsorship_request.expected_total_users,
"paid_users_count": paid_users_count, "paid_users_count": sponsorship_request.paid_users_count,
"paid_users_description": paid_users_description, "paid_users_description": sponsorship_request.paid_users_description,
} }
# Sent to the server's support team, so this email is not user-facing. # Sent to the server's support team, so this email is not user-facing.
send_email( send_email(