From b757f92fd3a42313a1203f1fcaf1d2dec67d45d8 Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Thu, 22 Oct 2020 11:51:02 +0200 Subject: [PATCH] fix(cellgeo): lambda handler must be async --- cdk/httpApiHealth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdk/httpApiHealth.ts b/cdk/httpApiHealth.ts index 071df5e1..1d261a78 100644 --- a/cdk/httpApiHealth.ts +++ b/cdk/httpApiHealth.ts @@ -1,6 +1,6 @@ import { APIGatewayProxyResult } from 'aws-lambda' -export const handler = (): APIGatewayProxyResult => ({ +export const handler = async (): Promise => ({ statusCode: 200, headers: { 'Access-Control-Allow-Origin': '*',