mirror of
https://github.com/movie-web/backend.git
synced 2025-09-13 18:13:26 +00:00
add settings nullable + undefined difference
This commit is contained in:
@@ -41,7 +41,7 @@ export const sessionRouter = makeRouter((app) => {
|
||||
sid: z.string(),
|
||||
}),
|
||||
body: z.object({
|
||||
name: z.string().optional(),
|
||||
name: z.string().min(1).optional(),
|
||||
}),
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user