Closed
Description
I am using an afterDelete
hook to handle deleting a File that is included in each object. From the hook I am using the following the code.
Parse.Cloud.httpRequest({
url: fileUrl,
method: 'DELETE',
}).then(function(response) {
console.log(response);
}, function(error) {
console.log("AFTER DELETE ERROR!", error);
});
However the DELETE is returning a 403 before the deleteHandler
is even called. I see that the FileRouter is using a enforceMasterKey method but I am unsure how to alter my request to use the masterkey as Parse.Cloud.useMasterKey();
did not work.
Metadata
Metadata
Assignees
Labels
No labels