Swap map with each

This commit is contained in:
Maxim Filippov 2019-11-22 09:11:36 +09:00
parent b88dbc17c8
commit b64c7b35d4
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ def try_send_confirmation_email(%User{} = user) do
end
def try_send_confirmation_email(users) do
Enum.map(users, &try_send_confirmation_email/1)
Enum.each(users, &try_send_confirmation_email/1)
end
def needs_update?(%User{local: true}), do: false