From 9c918253af173cdc0ab5955607bc72765db65bab Mon Sep 17 00:00:00 2001 From: Steven Hall Date: Wed, 3 Apr 2024 23:15:11 +0200 Subject: [PATCH] Bump caches for files. --- src/lib/api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/api.ts b/src/lib/api.ts index f40f656ea..b9802ca7a 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -434,7 +434,7 @@ export const getRevisionPageByPath = cache( * It should not be used directly, use `getRevisionFile` instead. */ const getRevisionFileById = cache( - 'api.getRevisionFile.v2', + 'api.getRevisionFile.v3', async (spaceId: string, revisionId: string, fileId: string, options: CacheFunctionOptions) => { try { const response = await (async () => { @@ -468,7 +468,7 @@ const getRevisionFileById = cache( * It should not be used directly, use `getRevisionFile` instead. */ const getRevisionAllFiles = cache( - 'api.getRevisionAllFiles', + 'api.getRevisionAllFiles.v2', async (spaceId: string, revisionId: string, options: CacheFunctionOptions) => { const response = await getAll( (params) =>