aboutsummaryrefslogtreecommitdiff
path: root/Mammoth/mammoth.edge.js
diff options
context:
space:
mode:
Diffstat (limited to 'Mammoth/mammoth.edge.js')
-rw-r--r--Mammoth/mammoth.edge.js2
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) {