Fix typo in typespec
This commit is contained in:
parent
ea26add540
commit
2fbb67add7
|
@ -1011,7 +1011,7 @@ def maybe_send_confirmation_email(%User{is_confirmed: false, email: email} = use
|
|||
|
||||
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
|
||||
user
|
||||
|> Pleroma.Emails.UserEmail.account_confirmation_email()
|
||||
|
|
Loading…
Reference in New Issue