Fixed typos in the result add route
This commit is contained in:
parent
2f42f19c26
commit
e3285bbaeb
@ -16,8 +16,8 @@ class ResultController extends Controller {
|
|||||||
|
|
||||||
$result = new Result;
|
$result = new Result;
|
||||||
$result->test_id = $params['result_test'];
|
$result->test_id = $params['result_test'];
|
||||||
$result->component = $params['result_component'];
|
$result->component_id = $params['result_component'];
|
||||||
$result->benchmark = $params['result_benchmark'];
|
$result->benchmark_id = $params['result_benchmark'];
|
||||||
$result->average = $params['result_avg'];
|
$result->average = $params['result_avg'];
|
||||||
$result->minimum = $params['result_min'] ?? null;
|
$result->minimum = $params['result_min'] ?? null;
|
||||||
$result->maximum = $params['result_max'] ?? null;
|
$result->maximum = $params['result_max'] ?? null;
|
||||||
|
Loading…
Reference in New Issue
Block a user