summaryrefslogtreecommitdiff
path: root/api/v1/news.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/v1/news.php')
-rw-r--r--api/v1/news.php3
1 files changed, 2 insertions, 1 deletions
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",