mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-11 04:48:32 +03:00
Replacing empty string with null
This commit is contained in:
@@ -41,7 +41,7 @@ class Controller {
|
||||
}
|
||||
|
||||
retrieveAll (fileDest) {
|
||||
if (fileDest === '') return Promise.reject(new Error(copy.errors.export.fileMissing))
|
||||
if (!fileDest) return Promise.reject(new Error(copy.errors.export.fileMissing))
|
||||
|
||||
const indexedData = {}
|
||||
const urls = []
|
||||
|
||||
Reference in New Issue
Block a user