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) {