diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-01-10 19:49:40 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-01-10 19:51:32 +0300 |
commit | d933fd3d61df2f9c346ab08fb2c95ddc12803858 (patch) | |
tree | a505956134654eb985be8bc9b5110b880286a6ec /lib | |
parent | eadb674c41dea27346aad43fa5514aa4f461273b (diff) | |
download | pleroma-d933fd3d61df2f9c346ab08fb2c95ddc12803858.tar.gz |
more renamings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/admin_api/admin_api_controller.ex | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/pleroma/web/admin_api/admin_api_controller.ex b/lib/pleroma/web/admin_api/admin_api_controller.ex index 849641113..a13dd4775 100644 --- a/lib/pleroma/web/admin_api/admin_api_controller.ex +++ b/lib/pleroma/web/admin_api/admin_api_controller.ex @@ -802,7 +802,10 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIController do configs = Pleroma.Repo.all(Config) if configs == [] do - errors(conn, {:error, "To use dynamic configuration migrate your settings to database."}) + errors( + conn, + {:error, "To use configuration from database migrate your settings to database."} + ) else conn |> put_view(ConfigView) @@ -847,7 +850,10 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIController do if Pleroma.Config.get([:configurable_from_database]) do :ok else - errors(conn, {:error, "To use this endpoint you need to enable dynamic configuration."}) + errors( + conn, + {:error, "To use this endpoint you need to enable configuration from database."} + ) end end |