Skip to content

Commit fb44bbe

Browse files
committed
Merge pull request #338 from steven-supersolid/installationId
Bugfix: Expose installationId in Cloud Code request object
2 parents 2510cab + 4ddaac3 commit fb44bbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/functions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function handleCloudFunction(req) {
2222
params: req.body || {},
2323
master: req.auth && req.auth.isMaster,
2424
user: req.auth && req.auth.user,
25+
installationId: req.info.installationId
2526
};
2627
Parse.Cloud.Functions[req.params.functionName](request, response);
2728
});

0 commit comments

Comments
 (0)