Skip to content

Commit

Permalink
fix(eslint): resolve no-shadow error
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Kristian Flaatten committed Jul 27, 2016
1 parent 288b08d commit 7ea175a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -890,9 +890,9 @@ describe('parse()', () => {
it('returns custom function query', () => {
mqs = new MongoQS({
custom: {
assigned: (query, input) => {
query['assigned.users._id'] = {
$in: input.map(id => parseInt(id, 10)),
assigned: (queryObject, inputValue) => {
queryObject['assigned.users._id'] = {
$in: inputValue.map(id => parseInt(id, 10)),
};
},
},
Expand Down

0 comments on commit 7ea175a

Please sign in to comment.