From 453b4310e2deea984182f6d3c78c974ba8a9f8d6 Mon Sep 17 00:00:00 2001 From: lolcat Date: Mon, 16 Oct 2023 19:45:11 -0400 Subject: fixed API bug --- api/v1/news.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'api/v1/news.php') diff --git a/api/v1/news.php b/api/v1/news.php index 97738fc..bd8678f 100644 --- a/api/v1/news.php +++ b/api/v1/news.php @@ -11,7 +11,8 @@ $frontend = new frontend(); Captcha */ include "lib/captcha_gen.php"; -new captcha($frontend, false); +$null = null; +new captcha($null, $null, $null, "news", false); [$scraper, $filters] = $frontend->getscraperfilters( "news", -- cgit v1.2.3