@@ -380,7 +380,6 @@ interface GetRevisionOptions {
380
380
381
381
/**
382
382
* Additional tags to add to the cache entry.
383
- * It's only used for v1, once in v2 we can get rid of it.
384
383
*/
385
384
tags ?: string [ ] ;
386
385
}
@@ -433,8 +432,8 @@ export const getRevision = cache({
433
432
} ) ;
434
433
} ,
435
434
getKeyArgs : ( [ spaceId , revisionId , fetchOptions ] ) => {
436
- if ( fetchOptions . computed === false ) {
437
- return [ spaceId , revisionId , { computed : false } ] ;
435
+ if ( fetchOptions . computed === true ) {
436
+ return [ spaceId , revisionId , { computed : true } ] ;
438
437
}
439
438
return [ spaceId , revisionId ] ;
440
439
} ,
@@ -480,8 +479,8 @@ export const getRevisionPages = cache({
480
479
} ) ;
481
480
} ,
482
481
getKeyArgs : ( [ spaceId , revisionId , fetchOptions ] ) => {
483
- if ( fetchOptions . computed === false ) {
484
- return [ spaceId , revisionId , { computed : false } ] ;
482
+ if ( fetchOptions . computed === true ) {
483
+ return [ spaceId , revisionId , { computed : true } ] ;
485
484
}
486
485
return [ spaceId , revisionId ] ;
487
486
} ,
0 commit comments