File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -466,13 +466,13 @@ export class BackendStack extends cdk.Stack {
466466 apigateway . ResponseType . INTEGRATION_TIMEOUT ,
467467 ] ;
468468
469- gatewayResponseTypes . forEach ( responseType => {
469+ gatewayResponseTypes . forEach ( ( responseType ) => {
470470 new apigateway . CfnGatewayResponse (
471471 this ,
472- `${ appName } GatewayResponse${ responseType } -${ props . environment } ` ,
472+ `${ appName } GatewayResponse- ${ responseType . responseType . toString ( ) } -${ props . environment } ` ,
473473 {
474474 restApiId : api . restApiId ,
475- responseType : responseType . toString ( ) ,
475+ responseType : responseType . responseType . toString ( ) ,
476476 responseParameters : {
477477 'gatewayresponse.header.Access-Control-Allow-Origin' : "'*'" ,
478478 'gatewayresponse.header.Access-Control-Allow-Headers' :
You can’t perform that action at this time.
0 commit comments