Minor bug fixes from live site

This commit is contained in:
2023-05-01 17:18:12 +10:00
parent 8fb888a395
commit fd110f5c6f
3 changed files with 4 additions and 4 deletions

View File

@@ -34,11 +34,11 @@ class BroadbandTraffic extends Command
if ($this->option('supplier')) {
$o = Supplier::where('name','like',$this->option('supplier'))->singleOrFail();
Job::dispatch($o);
Job::dispatchSync($o);
return;
}
foreach (Supplier::active()->get() as $o)
Job::dispatch($o);
Job::dispatchSync($o);
}
}