Updated the reports page to use the new API endpoints
This commit is contained in:
@ -22,7 +22,8 @@ class ApiController extends Controller {
|
||||
}
|
||||
|
||||
public function getBenchmarkTests(Request $request, Response $response, array $args): Response {
|
||||
$benchmark = Benchmark::where('id', $args['benchmark_id'])->first();
|
||||
$urlParams = $request->getQueryParams();
|
||||
$benchmark = Benchmark::where('id', $urlParams['benchmark_id'])->first();
|
||||
|
||||
$payload = json_encode($benchmark->tests);
|
||||
|
||||
|
Reference in New Issue
Block a user