Apply suggestion to lib/pleroma/web/admin_api/admin_api_controller.ex
This commit is contained in:
parent
4c60fdcbb1
commit
1cf0d5ab0d
|
@ -598,7 +598,7 @@ def email_invite(%{assigns: %{user: user}} = conn, %{"email" => email} = params)
|
|||
{:invites_enabled, _} ->
|
||||
errors(
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue