Skip to content

Commit

Permalink
fix: spelling _in -> _id
Browse files Browse the repository at this point in the history
Credit goes to Jean-Francois Patentaude
  • Loading branch information
Morten Henriksen committed Nov 24, 2017
1 parent 185770e commit 2da3423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server/push.api.js
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ Push.Configure = function(options) {
},
// XXX: Test this query: does this work on app id?
{ $and: [
{ _in: { $in: tokenList } }, // one of the app ids
{ _id: { $in: tokenList } }, // one of the app ids
{ $or: [
{ 'token.apn': { $exists: true } }, // got apn token
{ 'token.gcm': { $exists: true } } // got gcm token
Expand Down

0 comments on commit 2da3423

Please sign in to comment.