From 21dc8a6262b087ffa24c8d012549a1addfa9e95e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Thu, 26 Mar 2026 17:48:48 -0600 Subject: [PATCH] Simplify zod schema --- http-client/lib/shared.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-client/lib/shared.ts b/http-client/lib/shared.ts index ed11e8232..6f9e90b1c 100644 --- a/http-client/lib/shared.ts +++ b/http-client/lib/shared.ts @@ -20,7 +20,7 @@ const defaultSeedingPolicySchema = z.union([ }), z.object({ default: z.literal("allow"), - scope: z.union([scopeSchema, z.null()]).optional(), + scope: scopeSchema.optional(), }), ]);