Skip to content

Commit

Permalink
fix(federation): 🐛 Make sure InstanceMetadata's description is a string
Browse files Browse the repository at this point in the history
  • Loading branch information
CPlusPatch committed Aug 27, 2024
1 parent 5a527e9 commit f26b68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion federation/schemas/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f26b68c

Please sign in to comment.