fix(server): make time field optional in session update validator (#5372)
parent
a9f27371cf
commit
237c0253c2
|
|
@ -791,9 +791,11 @@ export namespace Server {
|
|||
"json",
|
||||
z.object({
|
||||
title: z.string().optional(),
|
||||
time: z.object({
|
||||
archived: z.number().optional(),
|
||||
}),
|
||||
time: z
|
||||
.object({
|
||||
archived: z.number().optional(),
|
||||
})
|
||||
.optional(),
|
||||
}),
|
||||
),
|
||||
async (c) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue