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

This commit is contained in:
Alexander Strizhakov 2020-04-09 10:17:36 +00:00
parent 4c60fdcbb1
commit 1cf0d5ab0d

View file

@ -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