Skip to content

Conversation

@nbw
Copy link

@nbw nbw commented Jan 19, 2017

Convert now-unsupported parse find, first methods to follow promises styling.

Also, convert Parse.Cloud.useMasterKey() to new styling of { useMasterKey: true }.

Parse.Cloud.define("stats", function(request, response) {

Parse.Cloud.useMasterKey();

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed? Just wondering.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks! That makes sense.

Nathan Willson added 28 commits January 19, 2017 11:49
- convert rest of find/first methods to promise format
- useMasterKey() to { useMasterKey: true } formatting
- missing find that hadn't been coverted
- added a field for Firebase Server Key
- added a field for Firebase Sender ID
* note, first input arg for the save method should be null or empty obj:
     ex: save( {},{ useMasterKey: true } )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants