Skip to content

Commit

Permalink
[TRELLO-2201] Remove the 7 days filter when updating a company's report
Browse files Browse the repository at this point in the history
  • Loading branch information
charlescd committed Feb 14, 2024
1 parent cdcaae5 commit ae970b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/orchestrators/ReportOrchestrator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,6 @@ class ReportOrchestrator(
// Update the status if needed
reportWithNewStatus <- reportWithNewData
.filter(_.companySiret != existingReport.flatMap(_.companySiret))
// not sure why we require this condition ?
.filter(_.creationDate.isAfter(OffsetDateTime.now().minusDays(7)))
.map(report =>
reportRepository
.update(
Expand Down

0 comments on commit ae970b2

Please sign in to comment.