diff --git a/lib/endpoint.php b/lib/endpoint.php index 81b9122..79ae4dc 100644 --- a/lib/endpoint.php +++ b/lib/endpoint.php @@ -51,6 +51,8 @@ function getEndpoint(string $endpoint_name): string $type = gettype($output_tmp); switch ($type) { case 'array': + $output = $output_tmp; + break; case 'string': $output = $output_tmp; $output['Status'] = 'Success';