send_email: Fix cleanup for incorrectly migrated jobs.

This logic, unfortunately, had a typo.
This commit is contained in:
Tim Abbott
2018-12-05 16:29:06 -08:00
parent 1adc40f014
commit 460249704e

View File

@@ -164,4 +164,4 @@ def handle_send_email_format_changes(job: Dict[str, Any]) -> None:
del job['to_email']
if 'to_user_id' in job:
job['to_user_ids'] = [job['to_user_id']]
del job['to_user_ids']
del job['to_user_id']