From 12998d577ad379445c159fdf7bf7629cc064ca46 Mon Sep 17 00:00:00 2001 From: Bhaskar Date: Tue, 21 Jan 2025 11:00:09 +0530 Subject: [PATCH] changes --- src/controllers/tanksController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 026b7203..8340c02b 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -1578,7 +1578,7 @@ eventEmitter.on( const message = `Tank Name: '${tankName}'\n` + `Pump started at: '${startTime}'\n` + - `Initiated by user(s): ${userNames}\n` + + `Initiated by : ${userNames}\n` + `Pump started by: '${motorOnType.toUpperCase()}'\n` + `Will stop at after: '${manual_threshold_time}' mins`; @@ -1604,7 +1604,7 @@ eventEmitter.on('motorStop', async (fcmTokens, tankName,stopTime, motorOnType) const message = `Tank Name: '${tankName}'\n` + `Pump stopped at: '${stopTime}'\n` + - `Initiated by user(s): ${userNames}\n` + + `Initiated by : ${userNames}\n` + `Motor On Type: '${motorOnType}'`; // Send the notification