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) {