Fix: NodeInfoのupstreamにおけるソフトウェア名に大文字が含まれている問題 (#761)

This commit is contained in:
KMY(雪あすか) 2024-06-19 18:59:08 +09:00 committed by GitHub
parent bdea47deff
commit 215c60c592
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ class NodeInfo::Serializer < ActiveModel::Serializer
nodeDescription: Setting.site_short_description,
features: capabilities_for_nodeinfo,
upstream: {
name: 'Mastodon',
name: 'mastodon',
version: Mastodon::Version.to_s_of_mastodon,
},
}