Skip to content

Commit 4ddaac3

Browse files
Expose installationId to Cloud Code request from req.info
1 parent 244febf commit 4ddaac3

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)