summaryrefslogtreecommitdiffstats
path: root/lib/json/encodeBookWithPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/json/encodeBookWithPage.js')
-rw-r--r--lib/json/encodeBookWithPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/json/encodeBookWithPage.js b/lib/json/encodeBookWithPage.js
index 26ab174..5600a82 100644
--- a/lib/json/encodeBookWithPage.js
+++ b/lib/json/encodeBookWithPage.js
@@ -13,7 +13,7 @@ function encodeBookWithPage(book, page) {
var file = page.getFile();
var result = encodeBook(book);
- result.page = encodePage(page);
+ result.page = encodePage(page, book.getSummary());
result.file = encodeFile(file);
return result;