Exclude failed tests from homepage graphs

This commit is contained in:
Henry Whitaker
2020-07-06 10:25:30 +01:00
parent 4c7d9b2730
commit 8c9703021b

View File

@@ -52,6 +52,7 @@ class SpeedtestController extends Controller
}
$data = Speedtest::where('created_at', '>=', Carbon::now()->subDays($days))
->where('failed', false)
->orderBy('created_at', 'asc')
->get();