fix(wikis): refine projectId schema in searchWikiPagesShape

This commit is contained in:
Lucas Winther committed 2026-09-07 02:51:46 +02:00
1 parent 16e54614ac
commit 2fb25a9604
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ export const searchWikiPagesShape = {
.optional()
.describe("Substring keyword to match in wiki page title"),
projectId: z
.union([z.string(), z.number()])
.union([z.number().int().positive(), z.string().min(1)])
.optional()
.describe("Project ID or identifier to scope search"),
limit: z