Skip to content

Commit

Permalink
Adding request headers to cloud functions fixes parse-community#1461 (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
blacha authored and Rafael Santos committed Mar 15, 2017
1 parent b75150b commit 6375b92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Routers/FunctionsRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ export class FunctionsRouter extends PromiseRouter {
master: req.auth && req.auth.isMaster,
user: req.auth && req.auth.user,
installationId: req.info.installationId,
log: req.config.loggerController && req.config.loggerController.adapter
log: req.config.loggerController && req.config.loggerController.adapter,
headers: req.headers
};

if (theValidator && typeof theValidator === "function") {
Expand Down

0 comments on commit 6375b92

Please sign in to comment.