Commit b64c7b35 authored by Maxim Filippov's avatar Maxim Filippov 🌚

Swap map with each

parent b88dbc17
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment