aboutsummaryrefslogtreecommitdiff
path: root/lib/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/index.js')
-rw-r--r--lib/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/index.js b/lib/index.js
index 778aad6..fb734e6 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -16,9 +16,9 @@ function Converter(options) {
this._documentConverter = new DocumentConverter(options);
}
-Converter.prototype.convertToHtml = function(docxFile) {
+Converter.prototype.convertToHtml = function(inputOptions) {
var documentConverter = this._documentConverter;
- return docxReader.read(docxFile)
+ return docxReader.read(inputOptions)
.then(function(documentResult) {
return documentResult.mapThen(function(document) {
return documentConverter.convertToHtml(document);