From 455fe2b3ac9b842415fd54b8367731f13995734a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Wed, 1 May 2024 17:36:35 +0200 Subject: [PATCH] Test meme filtering --- lib/endpoint.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/endpoint.php b/lib/endpoint.php index 79ae4dc..d792591 100644 --- a/lib/endpoint.php +++ b/lib/endpoint.php @@ -53,13 +53,6 @@ function getEndpoint(string $endpoint_name): string case 'array': $output = $output_tmp; break; - case 'string': - $output = $output_tmp; - $output['Status'] = 'Success'; - break; - case 'boolean': - $output['Status'] = $output_tmp ? 'Success' : 'Fail'; - break; default: $output['Status'] = 'Fail'; $output["Error"] = "Endpoint error";