master^2
Bhaskar 3 months ago
parent 627fde7ee1
commit 575492dca0

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

Loading…
Cancel
Save