I've created Cloud Code afterSave
and beforeSave
functions for my Parse Server which runs perfectly when I'm running my server locally. However, when I deploy to Elastic Beanstalk, the afterSave
functions simply does not work. beforeSave
's do work.
I've tried following the advice here this as well as multiple other random attempts without no success.
Example afterSave
that does not work on Elastic Beanstalk:
Parse.Cloud.afterSave("Entry", function(request) {
var entry = request.object;
var user = request.user;
user.increment("totalDistance", entry.get("totalDistance"));
user.save();
});
Note: I can't figure out how to find/access my Elastic Beanstalk NodeJS logs anywhere or in any way?