mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix(federation): 🏷️ Correctly make InstanceMetadata description a string
This commit is contained in:
parent
fbb845f7f8
commit
cea0544686
2 changed files with 4 additions and 15 deletions
|
|
@ -285,15 +285,9 @@ export class Instance extends BaseInterface<typeof Instances> {
|
|||
return {
|
||||
name:
|
||||
metadata.metadata.nodeName || metadata.metadata.title || "",
|
||||
description: {
|
||||
"text/plain": {
|
||||
content:
|
||||
metadata.metadata.nodeDescription ||
|
||||
metadata.metadata.description ||
|
||||
"",
|
||||
remote: false,
|
||||
},
|
||||
},
|
||||
description:
|
||||
metadata.metadata.nodeDescription ||
|
||||
metadata.metadata.description,
|
||||
type: "InstanceMetadata",
|
||||
software: {
|
||||
name: "Unknown ActivityPub software",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue