Skip to content

Commit 6c4837f

Browse files
blachaRafael Santos
authored and
Rafael Santos
committed
Adding request headers to cloud functions fixes parse-community#1461 (parse-community#2274)
1 parent 4e70d05 commit 6c4837f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Routers/FunctionsRouter.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ export class FunctionsRouter extends PromiseRouter {
6666
master: req.auth && req.auth.isMaster,
6767
user: req.auth && req.auth.user,
6868
installationId: req.info.installationId,
69-
log: req.config.loggerController && req.config.loggerController.adapter
69+
log: req.config.loggerController && req.config.loggerController.adapter,
70+
headers: req.headers
7071
};
7172

7273
if (theValidator && typeof theValidator === "function") {

0 commit comments

Comments
 (0)