Closed
Description
If you try to call an other cloud function inside a cloud function and you try to pass the sessionToken to get the user in the other cloud function. Not working.
return Parse.Cloud.run('getUserRole', data, {
sessionToken: request.user.get("sessionToken")
});
Parse.Cloud.define("getUserRole", function(request, response) {
request.user // is undefined
})