From 6d0f70f647e669594f3ce8c66a66b4c8ea1cf6cb Mon Sep 17 00:00:00 2001 From: Bhaskar Date: Mon, 23 Jun 2025 15:22:59 +0530 Subject: [PATCH] hadwarelist added in fetch issues by category --- src/controllers/installationController.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/installationController.js b/src/controllers/installationController.js index 93fb54ed..14b1eb16 100644 --- a/src/controllers/installationController.js +++ b/src/controllers/installationController.js @@ -8781,7 +8781,8 @@ exports.particularCategory = async (req, reply) => { outDoor_status: master.outDoor_status, movedAt: category !== "Resolved" ? (issue?.movedAt || null) : null, resolvedAt: category === "Resolved" ? (issue?.resolvedAt || null) : null, - category: issue?.category || category + category: issue?.category || category, + hardwareList: master.hardwareList || {} }); }