mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
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",
|
||||
z.object({
|
||||
query: z.string(),
|
||||
dirs: z.union([z.literal("true"), z.literal("false")]).optional(),
|
||||
dirs: z.enum(["true", "false"]).optional(),
|
||||
}),
|
||||
),
|
||||
async (c) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue