diff --git a/src/client.ts b/src/client.ts index 3a588ea1..8cf35346 100644 --- a/src/client.ts +++ b/src/client.ts @@ -32,7 +32,7 @@ export function createClient (config: SanityConfiguration) { useCdn, projectId, dataset, - apiVersion, + apiVersion = '1', withCredentials, token, } = config