Skip to content

Commit cdd9835

Browse files
committed
no-mistakes(test): Fix report cap test filterAllowlist type to typecheck
1 parent 1c9907f commit cdd9835

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/typescript/packages/runtime-ts/test/drizzle-fastify/mount-read-only.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ describe("mountReadOnlyCrudRoutes — report row cap", () => {
360360
const app = Fastify();
361361
mountReadOnlyCrudRoutes({
362362
fastify: app, path: "/days", db: drizzle(client), view,
363-
filterAllowlist: { n: { ops: ["eq"], subType: "int" } },
363+
filterAllowlist: { n: { ops: ["eq"], subType: "number", leadingWildcard: false } },
364364
sortAllowlist: { id: { defaultOrder: "asc" } },
365365
dialect: "sqlite", itemRoutes: false, resource: "report",
366366
...(reportMaxRows !== undefined && { reportMaxRows }),

0 commit comments

Comments
 (0)