Closed
Description
I lost half an hour with that because I didn't know how to put this useMasterKey: true
, could be cool to update the docs with the #401 response of @gfosco (here).
Something like this:
Parse.Push.send({
where: query,
data: {
alert: 'Test',
badge: 1,
sound: 'default'
}
}, {
success: function() {
console.log('##### PUSH OK');
},
error: function(error) {
console.log('##### PUSH ERROR');
},
useMasterKey: true
});
Instead of:
Parse.Push.send({
where: { ... },
data: { ... }
}, { useMasterKey: true });
Putting it there would be very cool! 😄
Metadata
Metadata
Assignees
Labels
No labels