Closed jachus closed 7 years ago
Hello! app_id is a GET parameter, by the documentation: https://documentation.onesignal.com/docs/players-view-devices
Hello @jachus, yes I know about that, but it worked for me also when i sent requests with app id in request body. But ok we should use this like documentation states. Could you open a new PR for this? Because this should be fixed also in notifications endpoints.
Also what's with 'offset' => filter_var($offset, FILTER_VALIDATE_INT)
? filter_var could return false now, so i don't understand this change.
@jachus thanks for PR. What's the reason for moving
'app_id' => $this->api->getConfig()->getApplicationId()
to the URL part?