removed unncessary callback from convert

This commit is contained in:
Dhroov7
2019-12-09 00:24:23 +05:30
parent 2cbaa1d7be
commit 825620979f
3 changed files with 5 additions and 13 deletions

View File

@@ -59,13 +59,7 @@ module.exports = {
reason: err
});
});
}, (err) => {
if (err) {
return cb(null, {
result: false,
reason: _.toString(err.reason)
});
}
}, () => {
var conversionResult = false,
convertedCollections = [],