Change nodeinfo software name to fedibird
This commit is contained in:
parent
1b9f659e97
commit
0124a17cf1
1 changed files with 5 additions and 7 deletions
|
@ -10,7 +10,7 @@ class NodeInfo::Serializer < ActiveModel::Serializer
|
||||||
end
|
end
|
||||||
|
|
||||||
def software
|
def software
|
||||||
{ name: 'mastodon', version: Mastodon::Version.to_s }
|
{ name: 'fedibird', version: Mastodon::Version.fedibird_verson }
|
||||||
end
|
end
|
||||||
|
|
||||||
def services
|
def services
|
||||||
|
@ -39,12 +39,10 @@ class NodeInfo::Serializer < ActiveModel::Serializer
|
||||||
|
|
||||||
def metadata
|
def metadata
|
||||||
{
|
{
|
||||||
forks: [
|
upstream: {
|
||||||
{
|
name: 'mastodon',
|
||||||
name: 'fedibird',
|
version: Mastodon::Version.to_s,
|
||||||
version: Mastodon::Version.fedibird_verson,
|
},
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue