forked from Adleraci/adlerka.top
Update lib/endpoint.php
This commit is contained in:
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user