Merge branch 'fix/configdb-error' into 'develop'
Improve error message for ConfigDB See merge request pleroma/pleroma!3289
This commit is contained in:
commit
7b67bf4e97
3 changed files with 4 additions and 4 deletions
|
|
@ -406,7 +406,7 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIController do
|
|||
if Config.get(:configurable_from_database) do
|
||||
:ok
|
||||
else
|
||||
{:error, "To use this endpoint you need to enable configuration from database."}
|
||||
{:error, "You must enable configurable_from_database in your config file."}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ defmodule Pleroma.Web.AdminAPI.ConfigController do
|
|||
if Config.get(:configurable_from_database) do
|
||||
:ok
|
||||
else
|
||||
{:error, "To use this endpoint you need to enable configuration from database."}
|
||||
{:error, "You must enable configurable_from_database in your config file."}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue