fix(notifications): type delivery lease update explicitly
Heimdall Gitea / Build and tests (pull_request) Successful in 17m27s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Successful in 5m46s
Heimdall Gitea / Build and scan server image (pull_request) Successful in 7m1s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped

This commit is contained in:
Arnaud Dartois committed 2026-10-24 22:29:05 +02:00
1 parent f93b245911
commit 59f0782094
1 file changed
+1 -1
@@ -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);