From 7eef9467aa6f7029beb3787a01b4727e43c81569 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Thu, 2 Jun 2016 09:09:03 +0100 Subject: [PATCH] Don't go resetting the threshold value --- app/Http/Controllers/Api/MetricController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/MetricController.php b/app/Http/Controllers/Api/MetricController.php index f893ee4f..a54b9d22 100644 --- a/app/Http/Controllers/Api/MetricController.php +++ b/app/Http/Controllers/Api/MetricController.php @@ -114,7 +114,7 @@ class MetricController extends AbstractApiController Binput::get('display_chart'), Binput::get('places'), Binput::get('view'), - Binput::get('threshold', 5) + Binput::get('threshold') )); } catch (QueryException $e) { throw new BadRequestHttpException();