mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
fix: replace union type with enum "true"/"false" in /find/file endpoint (#4338)
This commit is contained in:
parent
f5230d1f02
commit
c724d2392f
@ -1188,7 +1188,7 @@ export namespace Server {
|
||||
"query",
|
||||
z.object({
|
||||
query: z.string(),
|
||||
dirs: z.union([z.literal("true"), z.literal("false")]).optional(),
|
||||
dirs: z.enum(["true", "false"]).optional(),
|
||||
}),
|
||||
),
|
||||
async (c) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user