mirror of
https://github.com/versia-pub/api.git
synced 2026-03-13 04:09:15 +01:00
fix(federation): 🐛 Allow Delete to have a null author
This commit is contained in:
parent
caadde305a
commit
1cffb93d52
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue