diff --git a/src/controllers/installationController.js b/src/controllers/installationController.js index 7e8105f1..0938e981 100644 --- a/src/controllers/installationController.js +++ b/src/controllers/installationController.js @@ -635,7 +635,7 @@ exports.assignTeamMemberToQuotation = async (request, reply) => { // 🔁 Raise ticket if applicable const sensor = await Insensors.findOne({ hardwareId }).lean(); if (sensor?.customerId) { - // await raiseATicketLikeLogic(sensor.customerId, hardwareId); + await raiseATicketLikeLogic(sensor.customerId, hardwareId); } return reply.send({ @@ -716,7 +716,7 @@ exports.getByHardwareIdSupport = async (req, reply) => { // 🔁 Raise ticket if applicable const sensor = await Insensors.findOne({ hardwareId }).lean(); if (sensor?.customerId) { - // await raiseATicketLikeLogic(sensor.customerId, hardwareId); + await raiseATicketLikeLogic(sensor.customerId, hardwareId); } return reply.send({