Update lib/endpoint.php

This commit is contained in:
Bruno Rybársky 2024-04-11 15:27:06 +02:00
parent 638f092432
commit 9ac6421efc

@ -32,6 +32,10 @@ function getEndpoint($endpoint_name): string
$output = $output_tmp; $output = $output_tmp;
$output['Status'] = 'Success'; $output['Status'] = 'Success';
break; break;
case 'array':
$output = $output_tmp;
$output['Status'] = 'Success';
break;
case 'bool': case 'bool':
$output['Status'] = $output_tmp ? 'Success' : 'Fail'; $output['Status'] = $output_tmp ? 'Success' : 'Fail';
break; break;