Added field for manual/scheduled tests

This commit is contained in:
Henry Whitaker
2020-07-03 10:42:18 +01:00
parent 04d24098ef
commit b1f00d2aa1
10 changed files with 58 additions and 9 deletions

View File

@@ -98,7 +98,7 @@ class SpeedtestController extends Controller
public function run()
{
try {
$data = SpeedtestJob::dispatch();
$data = SpeedtestJob::dispatch(false);
return response()->json([
'method' => 'run speedtest',
'data' => 'a new speedtest has been added to the queue'