Bugfix/Fix export lead email (#2717)

fix export lead email
This commit is contained in:
Henry Heng
2024-06-25 00:23:16 +01:00
committed by GitHub
parent 109b0367cc
commit 1367f095d4
@@ -196,7 +196,7 @@ const ViewMessagesDialog = ({ show, dialogProps, onCancel }) => {
source: chatmsg.chatType === 'INTERNAL' ? 'UI' : 'API/Embed',
sessionId: chatmsg.sessionId ?? null,
memoryType: chatmsg.memoryType ?? null,
email: leadEmail ?? null,
email: chatmsg.leadEmail ?? null,
messages: [msg]
}
} else if (Object.prototype.hasOwnProperty.call(obj, chatPK)) {