changes on raise a ticket gsm chedk and lora

master^2
Bhaskar 4 months ago
parent ba3510dc3a
commit ac4cc5675c

@ -635,7 +635,7 @@ exports.assignTeamMemberToQuotation = async (request, reply) => {
// 🔁 Raise ticket if applicable // 🔁 Raise ticket if applicable
const sensor = await Insensors.findOne({ hardwareId }).lean(); const sensor = await Insensors.findOne({ hardwareId }).lean();
if (sensor?.customerId) { if (sensor?.customerId) {
// await raiseATicketLikeLogic(sensor.customerId, hardwareId); await raiseATicketLikeLogic(sensor.customerId, hardwareId);
} }
return reply.send({ return reply.send({
@ -716,7 +716,7 @@ exports.getByHardwareIdSupport = async (req, reply) => {
// 🔁 Raise ticket if applicable // 🔁 Raise ticket if applicable
const sensor = await Insensors.findOne({ hardwareId }).lean(); const sensor = await Insensors.findOne({ hardwareId }).lean();
if (sensor?.customerId) { if (sensor?.customerId) {
// await raiseATicketLikeLogic(sensor.customerId, hardwareId); await raiseATicketLikeLogic(sensor.customerId, hardwareId);
} }
return reply.send({ return reply.send({

Loading…
Cancel
Save