diff options
Diffstat (limited to 'packages/gitbook/src/api/decodePage.js')
-rw-r--r-- | packages/gitbook/src/api/decodePage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook/src/api/decodePage.js b/packages/gitbook/src/api/decodePage.js index 395c8ff..16e5115 100644 --- a/packages/gitbook/src/api/decodePage.js +++ b/packages/gitbook/src/api/decodePage.js @@ -19,7 +19,7 @@ function decodePage(output, page, result) { } // Update page attributes - const newAttributes = Immutable.fromJS(page.attributes); + const newAttributes = Immutable.fromJS(result.attributes); page = page.set('attributes', newAttributes); // GitBook 3 |