mirror of
https://git.rape.pet/ulith/amputoma.git
synced 2025-02-24 21:53:59 +01:00
Swap map with each
This commit is contained in:
parent
b88dbc17c8
commit
b64c7b35d4
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ defmodule Pleroma.User do
|
||||||
end
|
end
|
||||||
|
|
||||||
def try_send_confirmation_email(users) do
|
def try_send_confirmation_email(users) do
|
||||||
Enum.map(users, &try_send_confirmation_email/1)
|
Enum.each(users, &try_send_confirmation_email/1)
|
||||||
end
|
end
|
||||||
|
|
||||||
def needs_update?(%User{local: true}), do: false
|
def needs_update?(%User{local: true}), do: false
|
||||||
|
|
Loading…
Add table
Reference in a new issue