Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User id array in shift notification is ignored. #4

Open
RichAyotte opened this issue Feb 10, 2015 · 0 comments
Open

User id array in shift notification is ignored. #4

RichAyotte opened this issue Feb 10, 2015 · 0 comments

Comments

@RichAyotte
Copy link

Hi, I might have found a bug in your API. When I pass a user_id array to the notify endpoint, all qualified users are notified instead of the ids in the array, Here's a sample json that I'm including in the POST body.

Doing a post to
shifts/notify/999999999

body:
{"user_id":["44444444"]}

5 notifications were sent with this. Here's the response.

(
[success] => 1
[email] => 5
[sms] => 0
)

This isn't a problem with the class that you created but I'm having a terrible time getting to your support team so I'm trying this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant