ashok 9 months ago
commit 4fc0d4cfb1

@ -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

Loading…
Cancel
Save