okay
This commit is contained in:
parent
92f53cfc1b
commit
28110acedd
|
|
@ -57,7 +57,7 @@ public function handle(): void
|
|||
public static function fromDate(Project $project,Carbon $date,int $offset = 1):NullJob|ProjectDownloadRDSJob
|
||||
{
|
||||
$filename = $date->format('Y-m-d') . '.tif';
|
||||
if ($project->downloads()->statusSuccess()->where(['name' => $filename])->exists()) {
|
||||
if (!$project->downloads()->statusSuccess()->where(['name' => $filename])->exists()) {
|
||||
Log::warning("The download $filename can't be processed. Please check it's status.");
|
||||
return new NullJob();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue