From d8009fa02833fc6a42dd3021c5634c0f81a15f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80=20=D0=92=D0=B8=D0=BA?= =?UTF-8?q?=D1=82=D0=BE=D1=80?= Date: Wed, 13 Oct 2021 11:37:14 +0300 Subject: [PATCH] Refactor: removes directly used builtins for Object.prototype (#999) (#1005) --- frontend/src/_helpers/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(