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 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIController do
{: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, _} ->