diff --git a/packages/server/src/api/routes/tests/search.spec.ts b/packages/server/src/api/routes/tests/search.spec.ts index 5edc4f29ad..5384444067 100644 --- a/packages/server/src/api/routes/tests/search.spec.ts +++ b/packages/server/src/api/routes/tests/search.spec.ts @@ -24,7 +24,6 @@ import { JsonFieldSubType, LogicalOperator, RelationshipType, - RequiredKeys, Row, RowSearchParams, SearchFilters, diff --git a/packages/server/src/middleware/zod-validator.ts b/packages/server/src/middleware/zod-validator.ts index f990ee0642..0ad346afc3 100644 --- a/packages/server/src/middleware/zod-validator.ts +++ b/packages/server/src/middleware/zod-validator.ts @@ -36,7 +36,3 @@ function validate(schema: AnyZodObject, property: "body" | "params") { export function validateBody(schema: AnyZodObject) { return validate(schema, "body") } - -// export function validateParams(schema: AnyZodObject) { -// return validate(schema, "params") -// }