From 0e20c50103f81273e371ce5d6b39775e3bf290b7 Mon Sep 17 00:00:00 2001 From: Alejo Thomas Ortega Date: Wed, 2 Oct 2024 12:59:47 -0300 Subject: [PATCH] fix: SNS publishing messages (#503) --- src/adapters/deployer/index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/adapters/deployer/index.ts b/src/adapters/deployer/index.ts index 00c237e..61d1eb9 100644 --- a/src/adapters/deployer/index.ts +++ b/src/adapters/deployer/index.ts @@ -59,8 +59,7 @@ export function createDeployerComponent( const receipt = await client.send( new PublishCommand({ TopicArn: components.sns.arn, - Message: JSON.stringify(deploymentToSqs), - MessageDeduplicationId: entity.entityId + Message: JSON.stringify(deploymentToSqs) }) ) logger.info('Notification sent', { @@ -74,8 +73,7 @@ export function createDeployerComponent( const receipt = await client.send( new PublishCommand({ TopicArn: components.sns.eventArn, - Message: JSON.stringify(deploymentToSqs), - MessageDeduplicationId: entity.entityId + Message: JSON.stringify(deploymentToSqs) }) ) logger.info('Notification sent to events SNS', {