Apply suggestion to lib/pleroma/web/admin_api/admin_api_controller.ex

This commit is contained in:
Alexander Strizhakov 2020-04-09 10:17:31 +00:00
parent c8bfbf511e
commit 4c60fdcbb1

View file

@ -592,7 +592,7 @@ def email_invite(%{assigns: %{user: user}} = conn, %{"email" => email} = params)
{:registrations_open, _} ->
errors(
conn,
{:error, "To send invites you need set `registrations_open` option to false."}
{:error, "To send invites you need to set the `registrations_open` option to false."}
)
{:invites_enabled, _} ->