Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

refactor: remove optional workspaceId query validator from project endpoint

Andrej Acevski7fc9f6bb3168
diff --git a/apps/api/src/project/index.ts b/apps/api/src/project/index.ts
index 302767e4f..16a0ec37b 100644
--- a/apps/api/src/project/index.ts
+++ b/apps/api/src/project/index.ts
@@ -154,7 +154,6 @@ const project = new Hono<{
},
}),
validator("param", v.object({ id: v.string() })),
- validator("query", v.optional(v.object({ workspaceId: v.string() }))),
workspaceAccess.fromProject(),
async (c) => {
const { id } = c.req.valid("param");