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);