|
|
|
@ -3135,8 +3135,8 @@ exports.motorAction = async (req, reply) => {
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const totalWaterPumped = quantity_delivered
|
|
|
|
|
console.log("quantity_delivered",quantity_delivered)
|
|
|
|
|
const totalWaterPumped = await motorData.quantity_delivered
|
|
|
|
|
console.log("quantity_delivered",totalWaterPumped)
|
|
|
|
|
eventEmitter.emit("motorStop", customerId, fcmToken, tankName, blockName, stopTime, "Mobile APP", totalWaterPumped, typeOfWater, motorId,
|
|
|
|
|
loggedInUser.phone,);
|
|
|
|
|
|
|
|
|
|