From 42ddee707290c3658bb3c32dacd7e7cccd0506ee Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 2 Aug 2024 06:54:11 +0000 Subject: [PATCH] chore: self mutation Signed-off-by: github-actions --- src/api-docs-function.ts | 4 ++-- src/swagger-ui-function.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api-docs-function.ts b/src/api-docs-function.ts index d1ab89ea..d62ba2db 100644 --- a/src/api-docs-function.ts +++ b/src/api-docs-function.ts @@ -17,10 +17,10 @@ export class ApiDocsFunction extends lambda.Function { super(scope, id, { description: 'functions/src/api-docs.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs14.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../assets/functions/src/api-docs.lambda')), }); this.addEnvironment('AWS_NODEJS_CONNECTION_REUSE_ENABLED', '1', { removeInEdge: true }); } -} +} \ No newline at end of file diff --git a/src/swagger-ui-function.ts b/src/swagger-ui-function.ts index 16c89e9a..3966e854 100644 --- a/src/swagger-ui-function.ts +++ b/src/swagger-ui-function.ts @@ -17,10 +17,10 @@ export class SwaggerUiFunction extends lambda.Function { super(scope, id, { description: 'functions/src/swagger-ui.lambda.ts', ...props, - runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS), + runtime: new lambda.Runtime('nodejs14.x', lambda.RuntimeFamily.NODEJS), handler: 'index.handler', code: lambda.Code.fromAsset(path.join(__dirname, '../assets/functions/src/swagger-ui.lambda')), }); this.addEnvironment('AWS_NODEJS_CONNECTION_REUSE_ENABLED', '1', { removeInEdge: true }); } -} +} \ No newline at end of file