Skip to content

[Bug]: createNofitication returning { id: '', errors: {} } #73

@Gudaites

Description

@Gudaites

What happened?

I have some cases of sending push notifications where I cannot identify the errors and the createNotification function does not return any information about the error.

Steps to reproduce?

version 2.0.1-beta2

I create the object with the OneSignalNotification type

and send with await this.oneSignalService.createNotification(notificationsBody);

when sent successfully it returns the right information but there is no error, I am just receiving errors: {}

What did you expect to happen?

I hope that at least I can get back to the error that happened

Relevant log output

No response

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