Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed readme

  • Loading branch information...
commit 8d7a969c5c3997e3bb1a637a2cf74c4c23b2b32e 1 parent 8ab57b4
@Leveton authored
Showing with 4 additions and 7 deletions.
  1. +4 −7 readme.md
View
11 readme.md
@@ -210,15 +210,11 @@ examples
### delete a role
//pass the objectId of the role
- app.deleteRole("<objectId>", function(err, resp){
-
- });
+ app.deleteRole("<objectId>", function(err, resp){});
### get all the roles
- app.getRoles(function(err, resp){ //like so
- console.log(resp);
- });
+ app.getRoles(function(err, resp){});
### get a role against a cetain param
@@ -231,7 +227,8 @@ examples
});
### send a push notification
-
+
+ //The data param has to follow the data structure as described in the [Parse REST API](https://www.parse.com/docs/rest#push)
var notification = {
channels: [''],
data: {
Please sign in to comment.
Something went wrong with that request. Please try again.