make /api/captchas/all return hashes as well
This commit is contained in:
		@@ -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
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user