Updated to v1.9.8

This commit is contained in:
Henry Whitaker
2020-09-11 01:30:31 +01:00
parent e7bd0cf5d9
commit 15d3583423
10 changed files with 17 additions and 8 deletions

View File

@@ -144,7 +144,7 @@ class SpeedtestController extends Controller
$response['maximum'] = $max;
}
if (SettingsHelper::get('show_average')) {
if (SettingsHelper::get('show_min')) {
$min = Speedtest::select(DB::raw('MIN(ping) as ping, MIN(download) as download, MIN(upload) as upload'))
->where('failed', false)
->first()