Add metadata.nodeName

This commit is contained in:
Dashie 2018-05-03 10:52:20 +02:00
parent 804497542d
commit 724f096ac7
No known key found for this signature in database
GPG Key ID: C2D57B325840B755

View File

@ -40,7 +40,9 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
},
localPosts: Stats.get_stats().status_count || 0
},
metadata: %{}
metadata: %{
nodeName: Keyword.get(@instance, :name)
}
}
conn