From 9d841e389725462cf6199a3e39611554333bd297 Mon Sep 17 00:00:00 2001 From: Varun Date: Fri, 10 Jan 2025 17:21:33 +0530 Subject: [PATCH] cahnges --- 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 8e0521d7..f5f201b9 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -1580,8 +1580,8 @@ eventEmitter.on('motorStart', async (fcmTokens, timestamp, motorId, waterLevel, `Tank Name: '${tankName}'\n` + `Pump started at: '${startTime}'\n` + `Initiated by user(s): ${userNames}\n` + - `Motor On Type: '${motorOnType}'\n` + - `Will stop after: '${stopTime}'`; + `Pump started by: '${motorOnType.toUpperCase()}'\n` + + `Will stop at: '${stopTime}'`; // Send the notification await sendNotification(fcmTokens, 'Arminta Water Management', message); } catch (error) {