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

pull/5415/head^2
Sachnun 2025-12-12 09:06:15 +07:00 committed by GitHub
parent a9f27371cf
commit 237c0253c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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) => {