mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
send_email: Fix cleanup for incorrectly migrated jobs.
This logic, unfortunately, had a typo.
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user