Apply suggestion to lib/pleroma/web/admin_api/admin_api_controller.ex
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Thu, 9 Apr 2020 10:17:31 +0000 (10:17 +0000)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Thu, 9 Apr 2020 10:17:31 +0000 (10:17 +0000)
lib/pleroma/web/admin_api/admin_api_controller.ex

index 7b442f6e11e5821d9fd5b3fc4e4406683307f553..a66db68f37954a5108f63d259a6f25d8fd784a01 100644 (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, _} ->