zeyneloz / onesignal-node

A Node.js Library for OneSignal push notification service
MIT License
207 stars 48 forks source link

viewDevice doesn't let me pass an email auth hash #75

Open statico opened 2 years ago

statico commented 2 years ago

The docs for viewDevice say I need to pass an email_auth_hash if I'm getting an device that's for email, but the viewDevice() method provided by this module doesn't let me pass parameters. Indeed, if I try to call the method without an email auth hash I receive {"errors":["invalid identifier_auth_hash"]}