Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
fix(cellgeo): lambda handler must be async
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Oct 22, 2020
1 parent 100e280 commit b757f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk/httpApiHealth.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { APIGatewayProxyResult } from 'aws-lambda'

export const handler = (): APIGatewayProxyResult => ({
export const handler = async (): Promise<APIGatewayProxyResult> => ({
statusCode: 200,
headers: {
'Access-Control-Allow-Origin': '*',
Expand Down

0 comments on commit b757f92

Please sign in to comment.