From 27b98b7f55d589fd4c99069ea37e6cfc58d2b4c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Oliveira?= Date: Mon, 1 Mar 2021 19:21:03 +0000 Subject: [PATCH] fix: identation mistake --- lib/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes.js b/lib/routes.js index 6efd9139..965f06d8 100644 --- a/lib/routes.js +++ b/lib/routes.js @@ -363,7 +363,7 @@ function triggerSuspend (req, res, next) { const date = new Date() date.setDate(date.getDate() + days); customers.update(id, { suspendedUntil: date }) - .then(customer => { + .then(customer => { notifier.notifyIfActive('compliance', 'customerComplianceNotify', customer, req.deviceId, 'SUSPENDED', days) return respond(req, res, { customer }) })