Skip to content

Commit

Permalink
TRELO-2862 : fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
ssedoudbgouv committed Jan 18, 2025
1 parent 8c1d29c commit dbcde99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/loader/SignalConsoApplicationLoader.scala
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,6 @@ class SignalConsoComponents(
companyReportCountViewRefresherTask.schedule()
}


reportReminderTask.runTask()

override def config: Config = ConfigFactory.load()
Expand Down
4 changes: 2 additions & 2 deletions app/tasks/report/ReportRemindersTask.scala
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ class ReportRemindersTask(
reportsPerCompany
.map {
reports =>
val (reportsClosingTomorrow, otherReports) = reports.partition(isLastDay(_, taskRunDate))
val (readByPros, notReadByPros) = otherReports.partition(_.isReadByPro)
val (reportsClosingTomorrow, otherReports) = reports.partition(isLastDay(_, taskRunDate))
val (readByPros, notReadByPros) = otherReports.partition(_.isReadByPro)

for {
reportsClosingTomorrowSent <- sendReminderEmailIfAtLeastOneReport(
Expand Down

0 comments on commit dbcde99

Please sign in to comment.