diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2018-10-05 22:32:53 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2018-10-05 22:32:53 +0200 |
commit | f2efc8dcfbede6df655b3e85af6327802118c185 (patch) | |
tree | 8b3aa718fa449d9cc00e1c6923e8b32961768eb6 | |
parent | 28651df478bd8a69f66c4e613076324bb154969d (diff) | |
download | pleroma-f2efc8dcfbede6df655b3e85af6327802118c185.tar.gz |
nodeinfo_controller: Fix JSON rendering
This is the last noedinfo difference from my own branch
-rw-r--r-- | lib/pleroma/web/nodeinfo/nodeinfo_controller.ex | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex index 1f1b0282c..860468506 100644 --- a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex +++ b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex @@ -26,7 +26,10 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do chat = Application.get_env(:pleroma, :chat) gopher = Application.get_env(:pleroma, :gopher) stats = Stats.get_stats() - mrf_simple = Application.get_env(:pleroma, :mrf_simple) + + mrf_simple = + Application.get_env(:pleroma, :mrf_simple) + |> Enum.into(%{}) mrf_policies = Keyword.get(instance, :rewrite_policy) |