diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-05-07 21:44:57 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-05-07 21:44:57 +0000 |
| commit | 1ccd812fd633ca0f5da89b0fb6acfbf3136868d2 (patch) | |
| tree | 008bb43baaae96f87a277f7168ceb34c91d8084a /Mammoth/mammoth.edge.js | |
| parent | c3f394bb9b6a91ccde7b2255e46db463afc63652 (diff) | |
Read messages from result
Diffstat (limited to 'Mammoth/mammoth.edge.js')
| -rw-r--r-- | Mammoth/mammoth.edge.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mammoth/mammoth.edge.js b/Mammoth/mammoth.edge.js index a5a96a9..fe0202b 100644 --- a/Mammoth/mammoth.edge.js +++ b/Mammoth/mammoth.edge.js @@ -4,7 +4,7 @@ return function(data, callback) { mammoth.convertToHtml({arrayBuffer: toArrayBuffer(data)}) .then(function(result) { - callback(null, result.value); + callback(null, result); }, callback); function toArrayBuffer(buffer) { |
