From b855baded2ae531d1e464f4c02875eacc6cc6c3b Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Mon, 19 Aug 2024 13:18:45 +0900 Subject: [PATCH] Add total for getSpecifications --- app/controllers/api/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index ec3d568b62..95f41f08ec 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -514,6 +514,7 @@ App::get('/v1/functions/specifications') $response->dynamic(new Document([ 'specifications' => $runtimeSpecs, + 'total' => count($runtimeSpecs) ]), Response::MODEL_SPECIFICATION_LIST); });