Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
fix: error on creating Cognito authorizers for V1 AWS APIs (#1191)
Browse files Browse the repository at this point in the history
Co-authored-by: Frank <frank@sst.dev>
  • Loading branch information
greenlynx and fwang authored Oct 16, 2024
1 parent c4fffc9 commit 8a40f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/src/components/aws/apigatewayv1-authorizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class ApiGatewayV1Authorizer extends Component {
type,
name: args.name,
providerArns: args.userPools,
authorizerUri: fn!.nodes.function.invokeArn,
authorizerUri: fn?.nodes.function.invokeArn,
authorizerResultTtlInSeconds: args.ttl,
identitySource: args.identitySource,
},
Expand Down

0 comments on commit 8a40f6f

Please sign in to comment.