master^2
Bhaskar 9 months ago
parent 9773bb3f7c
commit 12998d577a

@ -1578,7 +1578,7 @@ eventEmitter.on(
const message = const message =
`Tank Name: '${tankName}'\n` + `Tank Name: '${tankName}'\n` +
`Pump started at: '${startTime}'\n` + `Pump started at: '${startTime}'\n` +
`Initiated by user(s): ${userNames}\n` + `Initiated by : ${userNames}\n` +
`Pump started by: '${motorOnType.toUpperCase()}'\n` + `Pump started by: '${motorOnType.toUpperCase()}'\n` +
`Will stop at after: '${manual_threshold_time}' mins`; `Will stop at after: '${manual_threshold_time}' mins`;
@ -1604,7 +1604,7 @@ eventEmitter.on('motorStop', async (fcmTokens, tankName,stopTime, motorOnType)
const message = const message =
`Tank Name: '${tankName}'\n` + `Tank Name: '${tankName}'\n` +
`Pump stopped at: '${stopTime}'\n` + `Pump stopped at: '${stopTime}'\n` +
`Initiated by user(s): ${userNames}\n` + `Initiated by : ${userNames}\n` +
`Motor On Type: '${motorOnType}'`; `Motor On Type: '${motorOnType}'`;
// Send the notification // Send the notification

Loading…
Cancel
Save