From 1ccd812fd633ca0f5da89b0fb6acfbf3136868d2 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 7 May 2015 21:44:57 +0000 Subject: Read messages from result --- Mammoth/mammoth.edge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mammoth/mammoth.edge.js') 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) { -- cgit v1.2.3