queue_processor: Remove email_body from the invite email events.

We removed the use of email_body field in 47fcb27e39, but was
still passed in events from do_resend_user_invite_email and
in tests. So this commit removes the email_body field from
these places.
This commit is contained in:
sahil839
2021-06-23 00:33:27 +05:30
committed by Tim Abbott
parent 81e2c3825c
commit 6a191a7bf0
2 changed files with 2 additions and 3 deletions

View File

@@ -6951,7 +6951,6 @@ def do_resend_user_invite_email(prereg_user: PreregistrationUser) -> int:
event = {
"prereg_id": prereg_user.id,
"referrer_id": prereg_user.referred_by.id,
"email_body": None,
}
queue_json_publish("invites", event)