-
Couldn't load subscription status.
- Fork 17
Closed
Description
When passing the "Converter" parameter starting with the capital "C" the conversion fails:
If we pass "converter" instead of "Converter" then it succeeds. The converter matching should ignore the case.
Here is the code to replicate the bug:
async function start() {
try {
let secret = '<your secret here>'
const convertapi = require('convertapi')(secret);
let result = convertapi.convert('pdf', {
File: 'path/to/sample.xlsx',
PageSize: 'envelopeusa',
Converter: 'Printer'
}, 'xlsx').then(function(res) {
console.log(res);
});
console.log(result);
}
catch(exception) {
throw exception;
}
}
start();Metadata
Metadata
Assignees
Labels
No labels
