This commit is contained in:
guillaume91 2024-06-26 14:45:39 +02:00
parent 8e0a9c3b26
commit f5925ed758

View file

@ -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);