From f26b68c76d3d332e102d12611441ede8beee58f0 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Tue, 27 Aug 2024 02:37:09 +0200 Subject: [PATCH] fix(federation): :bug: Make sure InstanceMetadata's description is a string --- federation/schemas/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/federation/schemas/base.ts b/federation/schemas/base.ts index 76e8a8b..7d78f89 100644 --- a/federation/schemas/base.ts +++ b/federation/schemas/base.ts @@ -243,7 +243,7 @@ export const InstanceMetadataSchema = EntitySchema.extend({ ), }) .strict(), - description: TextOnlyContentFormatSchema.optional().nullable(), + description: z.string().optional().nullable(), host: z.string(), shared_inbox: z.string().url().optional().nullable(), public_key: z