From: Haelwenn (lanodan) Monnier Date: Fri, 5 Oct 2018 20:32:53 +0000 (+0200) Subject: nodeinfo_controller: Fix JSON rendering X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f2efc8dcfbede6df655b3e85af6327802118c185;p=akkoma nodeinfo_controller: Fix JSON rendering This is the last noedinfo difference from my own branch --- 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)