Skip to content

Commit

Permalink
fix: class usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dzehnder committed Oct 20, 2023
1 parent 71285f7 commit a05ac6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queue-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function queueWrapper(func) {
throw new Error('AUDIT_RESULTS_QUEUE_URL env variable is empty/not provided');
}

context.queue = SqsQueue(region, queueUrl, log);
context.queue = new SqsQueue(region, queueUrl, log);

return func(request, context);
};
Expand Down

0 comments on commit a05ac6f

Please sign in to comment.