aboutsummaryrefslogtreecommitdiff
path: root/lib/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/index.js')
-rw-r--r--lib/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.js b/lib/index.js
index 2a5283f..83f1572 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -20,6 +20,6 @@ Converter.prototype.convertToHtml = function(docxFile) {
var documentConverter = this._documentConverter;
return docxReader.read(docxFile)
.then(function(result) {
- return documentConverter.convertToHtml(result.value);
+ return documentConverter.convertToHtml(result.document);
});
}