Skip to content

Commit

Permalink
TRELLO-2517 : update async filter to 1 day
Browse files Browse the repository at this point in the history
  • Loading branch information
ssedoudbgouv committed Aug 31, 2024
1 parent 878f4cd commit faf83b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/repositories/asyncfiles/AsyncFileRepository.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class AsyncFileRepository(override val dbConfig: DatabaseConfig[JdbcProfile])(im
.filterOpt(kind) { case (table, kind) =>
table.kind === kind
}
.filter(_.creationDate >= OffsetDateTime.now().minusDays(7))
.filter(_.creationDate >= OffsetDateTime.now().minusDays(1))
.sortBy(_.creationDate.desc)
.to[List]
.result
Expand Down

0 comments on commit faf83b4

Please sign in to comment.