diff --git a/aws/lambdas/locations/get-locations/index.ts b/aws/lambdas/locations/get-locations/index.ts index 81217850..86f66d0d 100644 --- a/aws/lambdas/locations/get-locations/index.ts +++ b/aws/lambdas/locations/get-locations/index.ts @@ -14,7 +14,7 @@ export const handler = async ( const httpService = new HttpService(); const lookupService = new LookupService(httpService, smService); - lookupService.init(); + await lookupService.init(); const queryParams = event.queryStringParameters || {}; diff --git a/aws/lambdas/locations/get-rooms/index.ts b/aws/lambdas/locations/get-rooms/index.ts index 81217850..86f66d0d 100644 --- a/aws/lambdas/locations/get-rooms/index.ts +++ b/aws/lambdas/locations/get-rooms/index.ts @@ -14,7 +14,7 @@ export const handler = async ( const httpService = new HttpService(); const lookupService = new LookupService(httpService, smService); - lookupService.init(); + await lookupService.init(); const queryParams = event.queryStringParameters || {};