From f5925ed758657ac3a846d36ef47d5d2596960846 Mon Sep 17 00:00:00 2001 From: guillaume91 Date: Wed, 26 Jun 2024 14:45:39 +0200 Subject: [PATCH] okay --- laravel_app/app/Models/Project.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel_app/app/Models/Project.php b/laravel_app/app/Models/Project.php index 0b274d4..17c63c7 100644 --- a/laravel_app/app/Models/Project.php +++ b/laravel_app/app/Models/Project.php @@ -363,7 +363,7 @@ public function hasMissingDownloadsDateInHarvestFile():bool public function getMissingDownloads():Collection { - if(!$this->harvest_json_path || !$this->min_harvest_date){ + if(!$this->min_harvest_date){ return collect([]); } $harvest_dates = $this->nonFailedDownloads()->get()->map(fn($d)=>$d->date);