fix: identation mistake

This commit is contained in:
José Oliveira 2021-03-01 19:21:03 +00:00 committed by Josh Harvey
parent 5c732aa53b
commit 27b98b7f55

View file

@ -363,7 +363,7 @@ function triggerSuspend (req, res, next) {
const date = new Date() const date = new Date()
date.setDate(date.getDate() + days); date.setDate(date.getDate() + days);
customers.update(id, { suspendedUntil: date }) customers.update(id, { suspendedUntil: date })
.then(customer => { .then(customer => {
notifier.notifyIfActive('compliance', 'customerComplianceNotify', customer, req.deviceId, 'SUSPENDED', days) notifier.notifyIfActive('compliance', 'customerComplianceNotify', customer, req.deviceId, 'SUSPENDED', days)
return respond(req, res, { customer }) return respond(req, res, { customer })
}) })