mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-24 19:32:07 +00:00
Bump caches for files.
This commit is contained in:
+2
-2
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user