You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if this is in the wrong place, please delete if it is. Fairly new developer here. I'm developing an iOS app which hasn't been released yet. I started on Parse.com and created a Parse Server install on Heroku with MLabs. My issue is I have a afterDelete hook in Cloud Code which works on my Parse.com app, but doesn't do anything on the Parse Server code. I have other cloud code function that still work, so cloud code generally is still running. Can anyone see anything obvious I am doing wrong, or could anyone suggest something I need to check outside my Cloud Code to explain this behaviour?
I seem to have solved this. It seems you need to call useMasterkey inside the destroyAll function now. This now closed issue was helpful.
I also defined my server URL at the top of my cloud code, but I haven't experimented to see if this was necessary yet. For anyone interested my working code is:
Hello!
Sorry if this is in the wrong place, please delete if it is. Fairly new developer here. I'm developing an iOS app which hasn't been released yet. I started on Parse.com and created a Parse Server install on Heroku with MLabs. My issue is I have a afterDelete hook in Cloud Code which works on my Parse.com app, but doesn't do anything on the Parse Server code. I have other cloud code function that still work, so cloud code generally is still running. Can anyone see anything obvious I am doing wrong, or could anyone suggest something I need to check outside my Cloud Code to explain this behaviour?
Here is my code:
Thanks so much in advance!
Dan
The text was updated successfully, but these errors were encountered: