From 55a572912753eacf9d84408c8e37c427a8015b71 Mon Sep 17 00:00:00 2001 From: Mikael Vesavuori Date: Sun, 19 Mar 2023 09:59:21 +0100 Subject: [PATCH] fix(): add missing true flag to expiry time for events --- src/infrastructure/repositories/DynamoDbRepository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infrastructure/repositories/DynamoDbRepository.ts b/src/infrastructure/repositories/DynamoDbRepository.ts index 300a4c6..64629c2 100644 --- a/src/infrastructure/repositories/DynamoDbRepository.ts +++ b/src/infrastructure/repositories/DynamoDbRepository.ts @@ -132,7 +132,7 @@ class DynamoRepository implements Repository { Item: { pk: { S: `EVENT_${repo}` }, sk: { S: timeCreated }, - expiresAt: { S: getExpiryTime() }, + expiresAt: { S: getExpiryTime(true) }, timeCreated: { S: eventTime }, timeResolved: { S: timeResolved }, message: { S: message },