Updated the reports page to use the new API endpoints
This commit is contained in:
1 parent
1b4fd8dec9
commit
6e67d58a8b
5 files changed
+13
-49
No files matched your search
@@ -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