Meteor-Community-Packages / Meteor-Community-Packages/raix-push
Using $in in send query fails
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 505
- Forks
- 191
- PR merge metrics
- No merged PRs in 30d
Description
Hi! How do I push to multiple userIds? I've tried this:
``` javascript
Push.send({
from: 'Hello',
title: 'World',
text: 'Hello, World!',
query: {
userId: ["1234", "5678"]
}
});
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue only provides a JavaScript Push.send example using multiple userId values. Start at the Push.send entry point and reproduce the query with the two IDs; done means the send reaches both users or the supported query syntax and limitation are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100