From 9ac6421efcb33e31bac609eef4982f27a8d70b5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Thu, 11 Apr 2024 15:27:06 +0200 Subject: [PATCH] Update lib/endpoint.php --- lib/endpoint.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/endpoint.php b/lib/endpoint.php index 52abbd2..4a94b8c 100644 --- a/lib/endpoint.php +++ b/lib/endpoint.php @@ -32,6 +32,10 @@ function getEndpoint($endpoint_name): string $output = $output_tmp; $output['Status'] = 'Success'; break; + case 'array': + $output = $output_tmp; + $output['Status'] = 'Success'; + break; case 'bool': $output['Status'] = $output_tmp ? 'Success' : 'Fail'; break;