Fix: fix crypto overrides not being respected
This commit is contained in:
parent
c457faab40
commit
366adad375
3 changed files with 29 additions and 21 deletions
|
|
@ -363,7 +363,7 @@ function triggerSuspend (req, res, next) {
|
|||
customers.update(id, { suspendedUntil: date })
|
||||
.then(customer => {
|
||||
notifier.customerComplianceNotify(customer, req.deviceId, 'SUSPENDED', days)
|
||||
respond(req, res, { customer })
|
||||
return respond(req, res, { customer })
|
||||
})
|
||||
.catch(next)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue