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
1 changed files with 1 additions and 1 deletions

View File

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