Fix viewing a page from a revision (#3388)

This commit is contained in:
Greg Bergé
2025-06-24 17:31:06 +02:00
committed by GitHub
parent 58d7f3c140
commit 5726999a5a
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook-v2": patch
---
Fix viewing a page from a revision
+1 -1
View File
@@ -16,7 +16,7 @@ export async function getPageDocument(
return getDataOrNull(
dataFetcher.getRevisionPageDocument({
spaceId: space.id,
revisionId: space.revision,
revisionId: context.revisionId,
pageId: page.id,
})
);