Change: NodeInfoのバージョン表記

This commit is contained in:
KMY 2024-01-09 15:57:33 +09:00
parent 3e4bd83326
commit aa5e50e5d5
2 changed files with 17 additions and 2 deletions

View file

@ -11,7 +11,7 @@ class NodeInfo::Serializer < ActiveModel::Serializer
end
def software
{ name: 'mastodon', version: Mastodon::Version.to_s }
{ name: 'kmyblue', version: Mastodon::Version.to_s }
end
def services
@ -41,6 +41,10 @@ class NodeInfo::Serializer < ActiveModel::Serializer
def metadata
{
features: fedibird_capabilities,
upstream: {
name: 'Mastodon',
version: Mastodon::Version.to_s_of_mastodon,
},
}
end