Skip to content

[Bug]: canceled is missing in the NotificationWithMeta object #129

@robert-wettstaedt

Description

@robert-wettstaedt

What happened?

As per the REST API reference there should be a canceled property for all returned messages. That property is missing in this library.

https://documentation.onesignal.com/reference/view-message#response-canceled

Steps to reproduce?

  1. Install 5.2.0-beta1
  2. Check the NotificationWithMeta model for a canceled property

What did you expect to happen?

The NotificationWithMeta model should include the canceled property so that when calling the getNotifications method it should include that value in its response items.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions