make /api/captchas/all return hashes as well

This commit is contained in:
leca 2025-05-03 23:57:06 +03:00
parent 9c2fe1c856
commit ceb8642365
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class CaptchaService {
} }
async get_all() { async get_all() {
return (await db.query("SELECT id FROM captchas")).rows return (await db.query("SELECT id, hash FROM captchas")).rows
} }
} }