ashok 4 months ago
commit e740d7d6a7

@ -6685,6 +6685,7 @@ exports.getDisconnectedMoveCustomerDetails = async (req, reply) => {
const combinedCustomerList = users.map(user => {
const cid = user.customerId;
return {
customer : {
customerId: cid,
connectionStatus: customerStatusMap[cid]?.status || "unknown",
username: user.username || "",
@ -6718,6 +6719,9 @@ exports.getDisconnectedMoveCustomerDetails = async (req, reply) => {
stripeSubscriptionStatus: user.stripeSubscriptionStatus || false,
createdAt: user.createdAt,
updatedAt: user.updatedAt
}
};
});

Loading…
Cancel
Save