From 59f07820946a6fc5b37a4db4801b09634cd8a5bc Mon Sep 17 00:00:00 2001 From: Arnaud Dartois Date: Sat, 24 Oct 2026 22:29:05 +0200 Subject: [PATCH] fix(notifications): type delivery lease update explicitly --- .../Services/NotificationDeliveryProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Heimdall.Infrastructure/Services/NotificationDeliveryProcessor.cs b/src/Heimdall.Infrastructure/Services/NotificationDeliveryProcessor.cs index 774c68d..7f2bec1 100644 --- a/src/Heimdall.Infrastructure/Services/NotificationDeliveryProcessor.cs +++ b/src/Heimdall.Infrastructure/Services/NotificationDeliveryProcessor.cs @@ -29,7 +29,7 @@ public sealed class NotificationDeliveryProcessor( .ExecuteUpdateAsync(update => update .SetProperty(d => d.Status, NotificationDeliveryStatus.Processing) .SetProperty(d => d.Attempts, d => d.Attempts + 1) - .SetProperty(d => d.LeaseExpiresAt, leaseExpiresAt) + .SetProperty(d => d.LeaseExpiresAt, (DateTime?)leaseExpiresAt) .SetProperty(d => d.UpdatedAt, now), ct) .ConfigureAwait(false);