diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-01-06 22:38:29 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-01-06 22:38:29 +0000 |
| commit | 9dc130b258c8320a3cd12e2afb002ebbe2155e9a (patch) | |
| tree | a3cfa22a9dcf515682f14cb7eeb0e860787d0f22 /lib | |
| parent | 45cf78a6eba8902d0822a1ad5fdbd19a5b024ab7 (diff) | |
Fix lib/web.js
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", |
