diff --git a/frontend/src/_helpers/utils.js b/frontend/src/_helpers/utils.js index 4a4febb9d3..e26e88b8a7 100644 --- a/frontend/src/_helpers/utils.js +++ b/frontend/src/_helpers/utils.js @@ -165,7 +165,7 @@ export const serializeNestedObjectToQueryParams = function (obj, prefix) { var str = [], p; for (p in obj) { - if (obj.hasOwnProperty(p)) { + if (Object.prototype.hasOwnProperty.call(obj, p)) { var k = prefix ? prefix + '[' + p + ']' : p, v = obj[p]; str.push(