nodeinfo_controller: Fix JSON rendering

This is the last noedinfo difference from my own branch
This commit is contained in:
Haelwenn (lanodan) Monnier 2018-10-05 22:32:53 +02:00
父節點 28651df478
當前提交 f2efc8dcfb
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: D5B7A8E43C997DEE

查看文件

@ -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)