mirror of
https://github.com/Aviortheking/IMIE_CQ.git
synced 2025-04-22 19:02:13 +00:00
Fait
This commit is contained in:
parent
a634564595
commit
a7020db7b3
@ -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))
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user