diff --git a/http-client/lib/shared.ts b/http-client/lib/shared.ts index bfe6ef920..ed11e8232 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: scopeSchema, + scope: z.union([scopeSchema, z.null()]).optional(), }), ]);