fix(backend): enhance nodeinfo by export instance admin via nodeAdmins key (#12503)

https://codeberg.org/thefederationinfo/nodeinfo_extension
This commit is contained in:
6543 2023-12-03 05:42:41 +01:00 committed by GitHub
parent e17d741f4b
commit 34223f3da4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,6 +96,11 @@ export class NodeinfoServerService {
metadata: { metadata: {
nodeName: meta.name, nodeName: meta.name,
nodeDescription: meta.description, nodeDescription: meta.description,
nodeAdmins: [{
name: meta.maintainerName,
email: meta.maintainerEmail,
}],
// deprecated
maintainer: { maintainer: {
name: meta.maintainerName, name: meta.maintainerName,
email: meta.maintainerEmail, email: meta.maintainerEmail,