From 3d82d4ff8f708a6622c539cd063ac8d083041470 Mon Sep 17 00:00:00 2001 From: lassejlv Date: Wed, 11 Dec 2024 09:21:08 +0100 Subject: [PATCH] Fix validation error in findFirst --- routes/findFirst/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/findFirst/schema.ts b/routes/findFirst/schema.ts index c68215f..9005f40 100644 --- a/routes/findFirst/schema.ts +++ b/routes/findFirst/schema.ts @@ -2,5 +2,5 @@ import { z } from "zod"; export const schema = z.object({ table: z.string(), - where: z.any().optional(), + where: z.any() })