From a007604ab18bcf2fd0dc93989acbc3b2abcda0e3 Mon Sep 17 00:00:00 2001 From: Steven H Date: Thu, 4 Apr 2024 14:09:43 +0200 Subject: [PATCH] Bump caches for documents. (#2265) --- src/lib/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/api.ts b/src/lib/api.ts index b9802ca7a..949432ef9 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -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,