summaryrefslogtreecommitdiffstats
path: root/lib/models/book.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/book.js')
-rw-r--r--lib/models/book.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/book.js b/lib/models/book.js
index 62faba6..9b9f769 100644
--- a/lib/models/book.js
+++ b/lib/models/book.js
@@ -174,7 +174,7 @@ Book.createFromParent = function createFromParent(parent, basePath) {
return new Book({
logger: parent.getLogger(),
parent: parent,
- fs: FS.reduceScope(book.getFS(), basePath)
+ fs: FS.reduceScope(parent.getFS(), basePath)
});
};