Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Commit 5f96933

Browse files
author
Damian Królikowski
authored
Update searchModule.js
1 parent 44eede0 commit 5f96933

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nsobjects/searchModule.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ function ResultSet() {
5454
(result, columnName) => {
5555
const columnNameText = columnName.name || columnName;
5656
const singleResult = result;
57-
const caller = Object.prototype.hasOwnProperty.call;
58-
singleResult[columnNameText] = caller(hardcodedValues, columnNameText)
57+
const calFn = Object.prototype.hasOwnProperty;
58+
singleResult[columnNameText] = calFn.call(hardcodedValues, columnNameText)
5959
? hardcodedValues[columnNameText] : `${columnNameText}_${item + 1}`;
6060
singleResult.internalid = random(1, 9000);
6161
return result;

0 commit comments

Comments
 (0)