Skip to content

Commit

Permalink
Await async fns
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathonherbert committed Aug 2, 2024
1 parent 82450f7 commit 9b7716f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lambda/facia-responder/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const handler: SQSHandler = async (event) => {
try {
await deployCuration(newCuration);
} catch (e) {
void notifyFaciaTool({
return notifyFaciaTool({
edition: newCuration.edition,
issueDate: newCuration.issueDate,
version: newCuration.version,
Expand All @@ -52,7 +52,7 @@ export const handler: SQSHandler = async (event) => {
});
}

void notifyFaciaTool({
return notifyFaciaTool({
edition: newCuration.edition,
issueDate: newCuration.issueDate,
version: newCuration.version,
Expand Down

0 comments on commit 9b7716f

Please sign in to comment.