make /api/captchas/all return hashes as well

This commit is contained in:
2025-05-03 23:57:06 +03:00
parent 9c2fe1c856
commit ceb8642365

View File

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