@tiledesk/tiledesk-tybot-connector 2.0.16 → 2.0.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -520,7 +520,7 @@ class TiledeskChatbotUtil {
520
520
  const messageId = message._id;
521
521
 
522
522
  if(process.env.BASE_URL){
523
- await chatbot.addParameter(TiledeskChatbotConst.REQ_CHAT_URL, `${BASE_URL}/dashboard/#/project/${projectId}/wsrequest/${requestId}/messages`);
523
+ await chatbot.addParameter(TiledeskChatbotConst.REQ_CHAT_URL, `${process.env.BASE_URL}/dashboard/#/project/${projectId}/wsrequest/${requestId}/messages`);
524
524
  }
525
525
 
526
526
  await chatbot.addParameter(TiledeskChatbotConst.REQ_PROJECT_ID_KEY, projectId);