forked from Adleraci/adlerka.top
Test meme filtering
This commit is contained in:
parent
23c42e6c31
commit
455fe2b3ac
@ -53,13 +53,6 @@ function getEndpoint(string $endpoint_name): string
|
|||||||
case 'array':
|
case 'array':
|
||||||
$output = $output_tmp;
|
$output = $output_tmp;
|
||||||
break;
|
break;
|
||||||
case 'string':
|
|
||||||
$output = $output_tmp;
|
|
||||||
$output['Status'] = 'Success';
|
|
||||||
break;
|
|
||||||
case 'boolean':
|
|
||||||
$output['Status'] = $output_tmp ? 'Success' : 'Fail';
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
$output['Status'] = 'Fail';
|
$output['Status'] = 'Fail';
|
||||||
$output["Error"] = "Endpoint error";
|
$output["Error"] = "Endpoint error";
|
||||||
|
Loading…
Reference in New Issue
Block a user