From fb77e1c3655bea3775a405a57a9b4df885ecc27b Mon Sep 17 00:00:00 2001 From: efarooqui Date: Mon, 8 Feb 2021 18:37:11 -0800 Subject: [PATCH] Adding fileDest to retrieveAll function in Controller --- src/lib/Controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Controller.js b/src/lib/Controller.js index 3f98270..e3a5970 100644 --- a/src/lib/Controller.js +++ b/src/lib/Controller.js @@ -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) }