mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-12 21:38:32 +03:00
Adding fileDest to retrieveAll function in Controller
This commit is contained in:
@@ -57,7 +57,7 @@ class Controller {
|
|||||||
urls.forEach((item, idx) => {
|
urls.forEach((item, idx) => {
|
||||||
indexedData[item] = results[idx]
|
indexedData[item] = results[idx]
|
||||||
})
|
})
|
||||||
return 'Success'
|
return copy.success.export(fileDest)
|
||||||
} else {
|
} else {
|
||||||
throw new Error(copy.errors.export)
|
throw new Error(copy.errors.export)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user