diff --git a/app/repositories/asyncfiles/AsyncFileRepository.scala b/app/repositories/asyncfiles/AsyncFileRepository.scala index 0cf19d4f..2fd61071 100644 --- a/app/repositories/asyncfiles/AsyncFileRepository.scala +++ b/app/repositories/asyncfiles/AsyncFileRepository.scala @@ -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