diff --git a/microservices/download/utils.js b/microservices/download/utils.js index 501a5ce..a5df8c2 100644 --- a/microservices/download/utils.js +++ b/microservices/download/utils.js @@ -93,6 +93,10 @@ function query_type(param) { let raw = param; let prov = undefined; + if (typeof raw !== "string") { + return false; + } + let full = raw.split("&"); for (const param of full) {