mirror of
https://github.com/versia-pub/api.git
synced 2025-12-06 16:38:20 +01:00
fix(federation): 🐛 Allow Delete to have a null author
This commit is contained in:
parent
caadde305a
commit
1cffb93d52
|
|
@ -161,7 +161,7 @@ export const UserSchema = EntitySchema.extend({
|
||||||
export const DeleteSchema = EntitySchema.extend({
|
export const DeleteSchema = EntitySchema.extend({
|
||||||
uri: z.null().optional(),
|
uri: z.null().optional(),
|
||||||
type: z.literal("Delete"),
|
type: z.literal("Delete"),
|
||||||
author: z.string().url(),
|
author: z.string().url().nullable(),
|
||||||
deleted_type: z.string(),
|
deleted_type: z.string(),
|
||||||
target: z.string().url(),
|
target: z.string().url(),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue