Skip to content

Commit

Permalink
Added missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronaldo Macapobre committed Jan 3, 2025
1 parent ebc547a commit b80a48b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws/lambdas/locations/get-locations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {};

Expand Down
2 changes: 1 addition & 1 deletion aws/lambdas/locations/get-rooms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {};

Expand Down

0 comments on commit b80a48b

Please sign in to comment.