Bruce Mackintosh
Bruce Mackintosh
I too am seeing some weird issues related to this topic. The issue occurs when calling cloud code from the express app functions, even if I pass the correct session...
@bcootner This is what I do. ``` // Helper function to easily handle the connection between express router and the parse app. // We need to pass the session token...
Here is a simple code example for deleting an object. ``` exports.deleteObjectWithId = function (objectId) { if (!objectId) { return Parse.Promise.error("Please supply a valid objectId"); } let delObject = tableHelper.existing("Object",...
For completeness, here is a snippet of the corresponding save function that is also failing. ``` let promises = []; result.forEach(workout => { workout.set({published: false}); let p1 = workout.save(null, {useMasterkey:...
Yes, `masterKey` is indeed initialised, and I validated it was actually working by testing a launch without it, and I get the expected error `You must provide a masterKey!` Additionally,...
Interestingly, calling a separate function from a `Parse.Cloud.afterDelete` callback works as expected with the following code, even though the objects being destroyed only have public read ACL's ``` Parse.Object.destroyAll(workoutDetails, {...
@flovilmart you are indeed correct. The number of times I re-read my code to make sure I had no typo's. Sigh. Thanks.
From my testing, it seems the 24 hour change will work as expected, and I can't think of any negative side effect. Should I submit a PR for that change?
@mario Sigh, thanks. Such an obvious solution escaped me. FYI, for anyone else with the issue, adding `clientKey` to Parse-Dashboard config solves the problem. ``` "apps": [ { "serverURL": buildVariables.serverURL,...