@tiledesk/tiledesk-tybot-connector 0.1.99 → 0.2.0
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/CHANGELOG.md +3 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/index.js
CHANGED
|
@@ -246,7 +246,7 @@ async function updateRequestVariables(chatbot, message, projectId, requestId) {
|
|
|
246
246
|
if (chatbot.log) {console.log("Updating request variables. Message:", JSON.stringify(message));}
|
|
247
247
|
const messageId = message._id;
|
|
248
248
|
const chat_url = `https://panel.tiledesk.com/v3/dashboard/#/project/${projectId}/wsrequest/${requestId}/messages`
|
|
249
|
-
await chatbot.addParameter("chatbot", chatbot);
|
|
249
|
+
// await chatbot.addParameter("chatbot", chatbot);
|
|
250
250
|
await chatbot.addParameter(TiledeskChatbotConst.REQ_CHAT_URL, chat_url);
|
|
251
251
|
await chatbot.addParameter(TiledeskChatbotConst.REQ_PROJECT_ID_KEY, projectId);
|
|
252
252
|
// TODO add projectName too
|