Skip to content

Commit

Permalink
Also need to copy type from authorizer config to support sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
adamldoyle committed May 23, 2024
1 parent 78825db commit 014b518
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/events/http/HttpServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ export default class HttpServer {
: "1.0",
resultTtlInSeconds:
serverlessAuthorizerOptions?.resultTtlInSeconds ?? "300",
type: endpoint.isHttpApi ? serverlessAuthorizerOptions?.type : undefined,
}

if (
Expand Down

0 comments on commit 014b518

Please sign in to comment.