From 867701482c5e0fd2db43b10d0ac5ea80d5cf971e Mon Sep 17 00:00:00 2001 From: Dumitru Melenteanu Date: Mon, 19 May 2025 16:37:23 +0300 Subject: [PATCH] Require the right type of authorizer --- packages/sst/src/constructs/ApiGatewayV1Api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sst/src/constructs/ApiGatewayV1Api.ts b/packages/sst/src/constructs/ApiGatewayV1Api.ts index 7a3760d7d..99a547609 100644 --- a/packages/sst/src/constructs/ApiGatewayV1Api.ts +++ b/packages/sst/src/constructs/ApiGatewayV1Api.ts @@ -431,7 +431,7 @@ export interface ApiGatewayV1ApiLambdaRequestAuthorizer /** * This allows you to override the default settings this construct uses internally to create the authorizer. */ - authorizer?: apig.TokenAuthorizer; + authorizer?: apig.RequestAuthorizer; }; }