Skip to content

Commit

Permalink
Removed test limit from reminder email
Browse files Browse the repository at this point in the history
  • Loading branch information
rmaffitsancsoft committed Jul 7, 2024
1 parent da5a436 commit 8899bdd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/dotnet/HQ.Server/Services/TimeEntryServiceV1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,6 @@ public async Task BackgroundSendTimeSubmissionReminderEmail(Period period, Cance
var staffToNotify = await _context.Staff
.AsNoTracking()
.Where(t => times.Where(x => x.StaffId == t.Id).Count() == 0 || unsubmittedTimes.Where(x => x.StaffId == t.Id).Count() > 0)
.Take(1)
.ToListAsync(ct);

foreach (var staff in staffToNotify)
Expand Down

0 comments on commit 8899bdd

Please sign in to comment.