Change nodeinfo software name to fedibird

This commit is contained in:
noellabo 2022-06-28 14:06:25 +09:00
parent 1b9f659e97
commit 0124a17cf1

View file

@ -10,7 +10,7 @@ class NodeInfo::Serializer < ActiveModel::Serializer
end
def software
{ name: 'mastodon', version: Mastodon::Version.to_s }
{ name: 'fedibird', version: Mastodon::Version.fedibird_verson }
end
def services
@ -39,12 +39,10 @@ class NodeInfo::Serializer < ActiveModel::Serializer
def metadata
{
forks: [
{
name: 'fedibird',
version: Mastodon::Version.fedibird_verson,
upstream: {
name: 'mastodon',
version: Mastodon::Version.to_s,
},
],
}
end