master^2
Varun 7 months ago
parent 256755c1d9
commit 183961299a

@ -2995,15 +2995,15 @@ exports.motorAction = async (req, reply) => {
} else { } else {
console.log("🚀 Sending threshold time notification..."); console.log("🚀 Sending threshold time notification...");
eventEmitter.emit( // eventEmitter.emit(
"sendThresholdTimeNotification", // "sendThresholdTimeNotification",
customerId, // customerId,
fcmToken, // fcmToken,
manual_threshold_time, // manual_threshold_time,
motorId, // motorId,
tankName, // tankName,
blockName // blockName
); // );
} }
// eventEmitter.emit( // eventEmitter.emit(
// "sendThresholdTimeNotification", // "sendThresholdTimeNotification",

Loading…
Cancel
Save