Fix return from EventDelayedNotificationWorker being nil

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-11-16 16:03:13 +01:00
parent d1f0a9224a
commit 0cae2bb84d
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ defmodule Mobilizon.Web.Email.Event do
&send_notification_for_event_update_to_participant(&1, old_event, event, diff)
)
end)
else
{:ok, :ok}
end
end