From 575492dca02de42cdf5d9a84d88dba981d806435 Mon Sep 17 00:00:00 2001 From: Bhaskar Date: Thu, 3 Jul 2025 12:24:23 +0530 Subject: [PATCH] changes --- src/controllers/installationController.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controllers/installationController.js b/src/controllers/installationController.js index 0d3e6225..4fc82a54 100644 --- a/src/controllers/installationController.js +++ b/src/controllers/installationController.js @@ -6573,6 +6573,8 @@ exports.getDisconnectedIssuesBySupportId = async (req, reply) => { .filter(c => c.customerId === customerId) .map(c => ({ text: c.text, + call_status: c.call_status, + call_time: c.call_time, commentsTime: moment(c.createdAt).tz("Asia/Kolkata").format("DD-MM-YYYY HH:mm") })); @@ -10070,6 +10072,8 @@ if (!orders.length) { ) .map(c => ({ text: c.text, + call_status: c.call_status, + call_time: c.call_time, commentsTime: c.createdAt ? moment(c.createdAt).tz("Asia/Kolkata").format("DD-MM-YYYY HH:mm") : null @@ -10727,10 +10731,6 @@ exports.updateComments = async (req, reply) => { comment: { ...commentObj, createdAt: moment(commentObj.createdAt).format("DD-MM-YYYY HH:mm") - }, - callRecord: { - ...callRecordObj, - createdAt: moment(callRecordObj.createdAt).format("DD-MM-YYYY HH:mm") } }); } catch (error) {