fix: replace union type with enum "true"/"false" in /find/file endpoint (#4338)
This commit is contained in:
parent
f5230d1f02
commit
c724d2392f
1 changed files with 1 additions and 1 deletions
|
|
@ -1188,7 +1188,7 @@ export namespace Server {
|
||||||
"query",
|
"query",
|
||||||
z.object({
|
z.object({
|
||||||
query: z.string(),
|
query: z.string(),
|
||||||
dirs: z.union([z.literal("true"), z.literal("false")]).optional(),
|
dirs: z.enum(["true", "false"]).optional(),
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
async (c) => {
|
async (c) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue