Add: NodeInfoにupstream
情報を追加 (#440)
This commit is contained in:
parent
7694c62bc6
commit
f624cdfa98
2 changed files with 16 additions and 1 deletions
|
@ -43,6 +43,10 @@ class NodeInfo::Serializer < ActiveModel::Serializer
|
|||
nodeName: Setting.site_title,
|
||||
nodeDescription: Setting.site_short_description,
|
||||
features: capabilities_for_nodeinfo,
|
||||
upstream: {
|
||||
name: 'Mastodon',
|
||||
version: Mastodon::Version.to_s_of_mastodon,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue