Skip to content

Commit 70b80ee

Browse files
committed
servereless changes in authorizer
1 parent a8b9af1 commit 70b80ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

metering/serverless.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ functions:
8484
- http:
8585
path: /usage/freecalls
8686
method: get
87-
# authorizer:
88-
# type: request
89-
# arn: ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
90-
# identitySource: ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
87+
authorizer:
88+
type: request
89+
arn: ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
90+
identitySource: ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
9191
# name: freecall_authorizer
9292
# resultTtlInSeconds: 100
9393
cors:

0 commit comments

Comments
 (0)