Skip to content

Commit

Permalink
feat(sanity): #TEMPORARY use API vX
Browse files Browse the repository at this point in the history
  • Loading branch information
juice49 committed Aug 23, 2024
1 parent 3741417 commit 84f8d11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sanity/src/core/preview/documentPreviewStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export function createDocumentPreviewStore({
}

const observeDocumentIdSet = createDocumentIdSetObserver(
versionedClient.withConfig({apiVersion: '2024-07-22'}),
versionedClient.withConfig({apiVersion: 'X'}),
)

const observeForPreview = createPreviewObserver({observeDocumentTypeFromId, observePaths})
Expand Down
2 changes: 1 addition & 1 deletion packages/sanity/src/core/studioClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ import {type SourceClientOptions} from './config'
* @internal
*/
export const DEFAULT_STUDIO_CLIENT_OPTIONS: SourceClientOptions = {
apiVersion: '2024-05-28',
apiVersion: 'X',
}

0 comments on commit 84f8d11

Please sign in to comment.