Skip to content

Commit

Permalink
fix: make the "opts" argument optional (#3)
Browse files Browse the repository at this point in the history
Related: #2
  • Loading branch information
rasimandiran authored Jun 10, 2024
1 parent 0ee1d4c commit cda5066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ async function createQueue(
export function createAdapter(
snsClient: SNS,
sqsClient: SQS,
opts: AdapterOptions & ClusterAdapterOptions
opts: AdapterOptions & ClusterAdapterOptions = {}
) {
let isClosed = false;
let _topicArn: string;
Expand Down

0 comments on commit cda5066

Please sign in to comment.