Adding fileDest to retrieveAll function in Controller

This commit is contained in:
efarooqui
2021-02-08 18:37:11 -08:00
parent 13a4b11259
commit fb77e1c365

View File

@@ -57,7 +57,7 @@ class Controller {
urls.forEach((item, idx) => {
indexedData[item] = results[idx]
})
return 'Success'
return copy.success.export(fileDest)
} else {
throw new Error(copy.errors.export)
}