1
0

Mark feed as valid

This commit is contained in:
Richard Dern 2024-05-12 00:51:31 +02:00
parent b5abba6f3a
commit 82b76db6a5

View File

@ -5,6 +5,7 @@
use App\Classes\Bundle;
use Illuminate\Console\Command;
use Illuminate\Contracts\Filesystem\Filesystem;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Process;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Str;
@ -202,6 +203,10 @@ private function renderFeed(): self
}
$this->targetDisk->put($path, $content);
//TODO: Find the right way to check for feed's validity...
Cache::forever('feed_is_valid', true);
$this->info('OK');
}