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

View file

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