Fix typo in typespec
This commit is contained in:
parent
ea26add540
commit
2fbb67add7
@ -1011,7 +1011,7 @@ defmodule Pleroma.User do
|
|||||||
|
|
||||||
def maybe_send_confirmation_email(_), do: {:ok, :noop}
|
def maybe_send_confirmation_email(_), do: {:ok, :noop}
|
||||||
|
|
||||||
@spec send_confirmation_email(Uset.t()) :: User.t()
|
@spec send_confirmation_email(User.t()) :: User.t()
|
||||||
def send_confirmation_email(%User{} = user) do
|
def send_confirmation_email(%User{} = user) do
|
||||||
user
|
user
|
||||||
|> Pleroma.Emails.UserEmail.account_confirmation_email()
|
|> Pleroma.Emails.UserEmail.account_confirmation_email()
|
||||||
|
Loading…
Reference in New Issue
Block a user