Typespec fixes and refactoring
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -289,7 +289,7 @@ defmodule Mobilizon.Service.Notifications.Scheduler do
|
||||
{:ok, nil}
|
||||
|
||||
# Sending to calculated time
|
||||
true ->
|
||||
match?(%DateTime{}, send_at) ->
|
||||
Notification.enqueue(:pending_membership_notification, params, scheduled_at: send_at)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user