master^2
Bhaskar 11 months ago
parent bfdd66c68a
commit 8eaad995a9

@ -2678,7 +2678,7 @@ const monitorWaterLevels = async () => {
const tankLocation = tank.tankLocation; // Assuming tank has a 'location' field
// Call the function to check water levels and send notifications
await checkWaterLevelsAndNotify(customerId, tankName, tankLocation, fcmTokens);
//await checkWaterLevelsAndNotify(customerId, tankName, tankLocation, fcmTokens);
} else {
//console.log(`No FCM tokens found for customerId ${tank.customerId}`);
}

Loading…
Cancel
Save