fix(federation): 🐛 Make sure InstanceMetadata's description is a string

This commit is contained in:
Jesse Wierzbinski 2024-08-27 02:37:09 +02:00
parent 5a527e9e8d
commit f26b68c76d
No known key found for this signature in database

View file

@ -243,7 +243,7 @@ export const InstanceMetadataSchema = EntitySchema.extend({
), ),
}) })
.strict(), .strict(),
description: TextOnlyContentFormatSchema.optional().nullable(), description: z.string().optional().nullable(),
host: z.string(), host: z.string(),
shared_inbox: z.string().url().optional().nullable(), shared_inbox: z.string().url().optional().nullable(),
public_key: z public_key: z