Skip to content

Commit

Permalink
fix(federation): 🐛 Allow Delete to have a null author
Browse files Browse the repository at this point in the history
  • Loading branch information
CPlusPatch committed Aug 26, 2024
1 parent caadde3 commit 1cffb93
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 @@ -161,7 +161,7 @@ export const UserSchema = EntitySchema.extend({
export const DeleteSchema = EntitySchema.extend({
uri: z.null().optional(),
type: z.literal("Delete"),
author: z.string().url(),
author: z.string().url().nullable(),
deleted_type: z.string(),
target: z.string().url(),
});
Expand Down

0 comments on commit 1cffb93

Please sign in to comment.