Skip to content

Commit

Permalink
chore: handle falsy on optional SNS endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega committed Dec 4, 2024
1 parent 2520f32 commit c5aa2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/deployer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function createDeployerComponent(
const logger = components.logs.getLogger('downloader')

const client = new SNSClient({
endpoint: components.sns.optionalSnsEndpoint
endpoint: components.sns.optionalSnsEndpoint ? components.sns.optionalSnsEndpoint : undefined
})

return {
Expand Down

0 comments on commit c5aa2a7

Please sign in to comment.