Skip to content

Commit

Permalink
Reverted accidental change to THURSDAY.
Browse files Browse the repository at this point in the history
  • Loading branch information
ocielliottc committed Sep 12, 2024
1 parent 6cfb6fe commit 4d60113
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ public PulseServicesImpl(
}

public void sendPendingEmail(LocalDate check) {
if (check.getDayOfWeek() == DayOfWeek.THURSDAY) {
if (check.getDayOfWeek() == DayOfWeek.MONDAY) {
LOG.info("Checking for pending Pulse email");
final LocalDate now = LocalDate.now();
LocalDate start = now.with(
TemporalAdjusters.firstInMonth(DayOfWeek.THURSDAY));
TemporalAdjusters.firstInMonth(DayOfWeek.MONDAY));

try {
Setting freq = settingsServices.findByName("PULSE_EMAIL_FREQUENCY");
Expand Down

0 comments on commit 4d60113

Please sign in to comment.