Updated email settings
This commit is contained in:
@@ -34,8 +34,6 @@ public sealed class LateProjectEventHandler(IDbContextFactory<ApplicationDbConte
|
||||
var now = DateTime.UtcNow;
|
||||
var overdueCutoff = lateDays > 0 ? now.AddDays(-lateDays) : now;
|
||||
|
||||
// Query overdue milestones that are not yet approved
|
||||
// Execute ToListAsync before GroupBy so EF Core does not fail SQL translation
|
||||
var overdueMilestones = await context.Milestones
|
||||
.AsNoTracking()
|
||||
.Include(i => i.Project)
|
||||
|
||||
Reference in New Issue
Block a user