Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 7ea175a

Browse files
author
Hans Kristian Flaatten
committed
fix(eslint): resolve no-shadow error
1 parent 288b08d commit 7ea175a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -890,9 +890,9 @@ describe('parse()', () => {
890890
it('returns custom function query', () => {
891891
mqs = new MongoQS({
892892
custom: {
893-
assigned: (query, input) => {
894-
query['assigned.users._id'] = {
895-
$in: input.map(id => parseInt(id, 10)),
893+
assigned: (queryObject, inputValue) => {
894+
queryObject['assigned.users._id'] = {
895+
$in: inputValue.map(id => parseInt(id, 10)),
896896
};
897897
},
898898
},

0 commit comments

Comments
 (0)