Fix return from EventDelayedNotificationWorker being nil
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
d1f0a9224a
commit
0cae2bb84d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue