Mark feed as valid
This commit is contained in:
parent
b5abba6f3a
commit
82b76db6a5
|
@ -5,6 +5,7 @@
|
||||||
use App\Classes\Bundle;
|
use App\Classes\Bundle;
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
use Illuminate\Contracts\Filesystem\Filesystem;
|
use Illuminate\Contracts\Filesystem\Filesystem;
|
||||||
|
use Illuminate\Support\Facades\Cache;
|
||||||
use Illuminate\Support\Facades\Process;
|
use Illuminate\Support\Facades\Process;
|
||||||
use Illuminate\Support\Facades\Storage;
|
use Illuminate\Support\Facades\Storage;
|
||||||
use Illuminate\Support\Str;
|
use Illuminate\Support\Str;
|
||||||
|
@ -202,6 +203,10 @@ private function renderFeed(): self
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->targetDisk->put($path, $content);
|
$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');
|
$this->info('OK');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user