diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/web.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -53,11 +53,10 @@ function handleConvert(request, response, next) { return next(); } - var converter = new mammoth.Converter(mammoth.standardOptions); var uploadedDocument = request.files.document; var documentPath = uploadedDocument.path; - converter.convertToHtml({path: documentPath}) + mammoth.convertToHtml({path: documentPath}) .then(function(result) { request.template = { name: "convert.html", |
