From 5d08e6b3355f10d662f9eb24a286f5a186facd8c Mon Sep 17 00:00:00 2001 From: Daniel Sousa Date: Sun, 24 Sep 2023 09:54:26 +0100 Subject: [PATCH] fix(sanityImage): _key as undefined instead of nullable --- packages/groqd/src/sanityImage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/groqd/src/sanityImage.ts b/packages/groqd/src/sanityImage.ts index d78be82f..c332a020 100644 --- a/packages/groqd/src/sanityImage.ts +++ b/packages/groqd/src/sanityImage.ts @@ -30,7 +30,7 @@ const hotspotFields = { }; const refBase = { - _key: schemas.string().nullable(), + _key: schemas.string().optional(), _type: schemas.string(), } as const;