@tiledesk/tiledesk-tybot-connector 2.0.21-rc11 → 2.0.21-rc12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logger.js +0 -1
- package/package.json +1 -1
- package/utils/TiledeskChatbotUtil.js +0 -2
package/Logger.js
CHANGED
package/package.json
CHANGED
|
@@ -778,10 +778,8 @@ class TiledeskChatbotUtil {
|
|
|
778
778
|
}
|
|
779
779
|
let currentLeadName = await chatbot.getParameter(TiledeskChatbotConst.REQ_LEAD_USERFULLNAME_KEY);
|
|
780
780
|
winston.debug("(TiledeskChatbotUtil) You lead email from attributes: " + currentLeadEmail);
|
|
781
|
-
console.log("currentLeadName: ", currentLeadName)
|
|
782
781
|
if (message.request.lead.fullname && !currentLeadName) {
|
|
783
782
|
// worth saving
|
|
784
|
-
console.log("inside if")
|
|
785
783
|
winston.debug("(TiledeskChatbotUtil) worth saving email");
|
|
786
784
|
try {
|
|
787
785
|
await chatbot.addParameter(TiledeskChatbotConst.REQ_LEAD_USERFULLNAME_KEY, message.request.lead.fullname);
|