Use the Pleroma.Config alias
This commit is contained in:
parent
6b14f0c514
commit
d23804f191
12 changed files with 41 additions and 41 deletions
|
|
@ -83,7 +83,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
|
|||
|
||||
def frontend_configurations(conn, _params) do
|
||||
config =
|
||||
Pleroma.Config.get(:frontend_configurations, %{})
|
||||
Config.get(:frontend_configurations, %{})
|
||||
|> Enum.into(%{})
|
||||
|
||||
json(conn, config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue