Bump caches for documents. (#2265)

This commit is contained in:
Steven H
2024-04-04 14:09:43 +02:00
committed by GitHub
parent 3076e96061
commit a007604ab1
+1 -1
View File
@@ -558,7 +558,7 @@ export const getRevisionFile = batch<[string, string, string], RevisionFile | nu
* Get a document by its ID.
*/
export const getDocument = cache(
'api.getDocument',
'api.getDocument.v2',
async (spaceId: string, documentId: string, options: CacheFunctionOptions) => {
const response = await api().spaces.getDocumentById(
spaceId,