feat(all) keep track of dispensed bills
This commit is contained in:
parent
c9f2976ea2
commit
d6c9244d7a
3 changed files with 21 additions and 5 deletions
|
|
@ -114,8 +114,8 @@ function cashOut(req, res) {
|
|||
});
|
||||
}
|
||||
|
||||
function depositAck(req, res) {
|
||||
plugins.depositAck(getFingerprint(req), req.body);
|
||||
function dispenseAck(req, res) {
|
||||
plugins.dispenseAck(getFingerprint(req), req.body);
|
||||
res.json(200);
|
||||
}
|
||||
|
||||
|
|
@ -180,7 +180,7 @@ function init(localConfig) {
|
|||
app.post('/send', authMiddleware, send);
|
||||
|
||||
app.post('/cash_out', authMiddleware, cashOut);
|
||||
app.post('/deposit_ack', authMiddleware, depositAck);
|
||||
app.post('/dispense_ack', authMiddleware, dispenseAck);
|
||||
|
||||
app.post('/event', authMiddleware, deviceEvent);
|
||||
app.post('/verify_user', authMiddleware, verifyUser);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue