mirror of
https://github.com/Aviortheking/IMIE_CQ.git
synced 2025-06-27 08:59:19 +00:00
Fait
This commit is contained in:
@ -7,4 +7,8 @@ module.exports = class ApiController {
|
||||
all(req, res) {
|
||||
res.send(this.db.getAll())
|
||||
}
|
||||
|
||||
single(req, res) {
|
||||
res.send(this.db.getByID(req.query.id))
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user