From 4ddaac36bb4b0887878ae23298e6270818af9426 Mon Sep 17 00:00:00 2001 From: steven-supersolid Date: Wed, 10 Feb 2016 16:04:13 +0000 Subject: [PATCH] Expose installationId to Cloud Code request from req.info --- src/functions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/functions.js b/src/functions.js index 09e43ed344..f8b8fbc94c 100644 --- a/src/functions.js +++ b/src/functions.js @@ -22,6 +22,7 @@ function handleCloudFunction(req) { params: req.body || {}, master: req.auth && req.auth.isMaster, user: req.auth && req.auth.user, + installationId: req.info.installationId }; Parse.Cloud.Functions[req.params.functionName](request, response); });