Skip to content

User id array in shift notification is ignored. #4

Description

@RichAyotte

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions