feat: sms receipt route

This commit is contained in:
José Oliveira 2021-08-10 01:46:56 +01:00
parent 938ca64131
commit f502c3a57a
2 changed files with 7 additions and 0 deletions

View file

@ -116,11 +116,17 @@ function updateTxCustomerPhoto (req, res, next) {
.catch(next)
}
function sendSmsReceipt (req, res, next) {
console.log(req.body)
return respond(req, res, {})
}
router.patch('/:id', updateCustomer)
router.patch('/:id/sanctions', triggerSanctions)
router.patch('/:id/block', triggerBlock)
router.patch('/:id/suspend', triggerSuspend)
router.patch('/:id/photos/idcarddata', updateIdCardData)
router.patch('/:id/:txId/photos/customerphoto', updateTxCustomerPhoto)
router.patch('/:id/smsreceipt', sendSmsReceipt)
module.exports = router