diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-04-01 15:52:24 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-04-01 15:52:24 +0100 |
| commit | e5a8d1bcce3a611bd3cd266ef36431a0c444fdde (patch) | |
| tree | 412d92f84201b6f26fd290c88a57ac38f5dced5d /lib/index.js | |
| parent | 7aecbe20f174100cdc6f72238f43ef3d96e7fb50 (diff) | |
Alias result value to result.document
Diffstat (limited to 'lib/index.js')
| -rw-r--r-- | lib/index.js | 2 |
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); }); } |
