fix(server): make time field optional in session update validator (#5372)

thinking-toggle-wip
Sachnun 2025-12-12 09:06:15 +07:00 committed by Aiden Cline
parent 3f580ef53e
commit 2062dd1086
1 changed files with 5 additions and 3 deletions

View File

@ -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) => {