forked from AkkomaGang/akkoma
Apply suggestion to lib/pleroma/web/admin_api/admin_api_controller.ex
This commit is contained in:
parent
4c60fdcbb1
commit
1cf0d5ab0d
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ def email_invite(%{assigns: %{user: user}} = conn, %{"email" => email} = params)
|
||||||
{:invites_enabled, _} ->
|
{:invites_enabled, _} ->
|
||||||
errors(
|
errors(
|
||||||
conn,
|
conn,
|
||||||
{:error, "To send invites you need set `invites_enabled` option to true."}
|
{:error, "To send invites you need set to set the `invites_enabled` option to true."}
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue