Test meme rendering

This commit is contained in:
2024-04-25 09:40:21 +02:00
parent 7382c6ea4b
commit 0253ed6e04
5 changed files with 56 additions and 12 deletions

View File

@@ -7,6 +7,7 @@ function endpoint($endpoint_data): array
return match ($endpoint_data["action"]) {
"addMeme" => addMeme($endpoint_data['memetext'], $endpoint_data['imageid']),
"renderGallery" => renderMemeGallery(),
default => ["Status" => "Fail", "message" => "Invalid action"],
};
}