master^2
Bhaskar 6 months ago
parent 646c2c93f4
commit 1c3bba5ba6

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