Also make this maybe_ for consistency
This commit is contained in:
parent
b22b12f738
commit
af37a5c51a
3 changed files with 6 additions and 6 deletions
|
|
@ -38,7 +38,7 @@ defmodule Mix.Tasks.Pleroma.Email do
|
|||
invisible: false
|
||||
})
|
||||
|> Pleroma.Repo.chunk_stream(500)
|
||||
|> Stream.each(&Pleroma.User.try_send_confirmation_email(&1))
|
||||
|> Stream.each(&Pleroma.User.maybe_send_confirmation_email(&1))
|
||||
|> Stream.run()
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue