summaryrefslogtreecommitdiff
path: root/api/v1/images.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-10-16 19:45:11 -0400
committerlolcat <will@lolcat.ca>2023-10-16 19:45:11 -0400
commit453b4310e2deea984182f6d3c78c974ba8a9f8d6 (patch)
treed0b62822195575f9bc85f3686a96ab1ed4e5ae32 /api/v1/images.php
parentf67fadfa885c048aac42d9a703be6277f2987d29 (diff)
fixed API bug
Diffstat (limited to 'api/v1/images.php')
-rw-r--r--api/v1/images.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/v1/images.php b/api/v1/images.php
index 474e2dd..34510b4 100644
--- a/api/v1/images.php
+++ b/api/v1/images.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, "images", false);
[$scraper, $filters] = $frontend->getscraperfilters(
"images",