Skip to content

Commit 92873cc

Browse files
Merge pull request #254 from djiworks/master
feat: add all authorizer context properties to lambda_proxy template
2 parents f47c33f + eb6d450 commit 92873cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/deploy/events/apiGateway/methods.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ const LAMBDA_PROXY_REQUEST_TEMPLATE = `
6565
#set( $map = $context.identity )
6666
"identity": $loop,
6767
"domainName": "$context.domainName",
68-
"apiId": "$context.apiId"
68+
"apiId": "$context.apiId",
69+
#set( $map = $context.authorizer )
70+
"authorizer": $loop,
6971
},
7072
"body": "$util.escapeJavaScript("$body")",
7173
"isBase64Encoded": false

0 commit comments

Comments
 (0)