feat: sms receipt route
This commit is contained in:
parent
938ca64131
commit
f502c3a57a
2 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue