internal linking
This commit is contained in:
@@ -9,11 +9,11 @@ class MirrorToolLogos extends Command
|
||||
{
|
||||
protected $signature = 'tools:mirror-logos';
|
||||
|
||||
protected $description = 'Queue jobs to download externally-hosted tool logos and serve them from local storage';
|
||||
protected $description = 'Queue jobs to resolve and download tool logos (external, missing, or broken) and serve them from local storage';
|
||||
|
||||
public function handle(): int
|
||||
{
|
||||
$tools = Tool::query()->whereNotNull('logo_url')->get()->reject->hasLocalLogo();
|
||||
$tools = Tool::query()->get()->reject->hasLocalLogo();
|
||||
|
||||
$tools->each->queueLogoMirrorIfNeeded();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user