make /api/captchas/all return hashes as well
This commit is contained in:
parent
9c2fe1c856
commit
ceb8642365
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue