@tiledesk/tiledesk-tybot-connector 0.2.101 → 0.2.103
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/models/TiledeskChatbotUtil.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,9 @@ available on:
|
|
|
17
17
|
- Added flowError on JSONCondition when result = null
|
|
18
18
|
- Added fix on Filler -->
|
|
19
19
|
|
|
20
|
+
# v0.2.102
|
|
21
|
+
- isValid modified: if (parts.length >= 4) instead of "if (parts.length === 4)" that blocked whatsapp requests
|
|
22
|
+
|
|
20
23
|
# v0.2.101
|
|
21
24
|
- Dynamic attribute "now" is a ISOString date
|
|
22
25
|
- MAX_EXECUTION_TIME = 1000 * 3600 * 4 // 4 hours
|
|
@@ -844,7 +844,7 @@ class TiledeskChatbotUtil {
|
|
|
844
844
|
if (requestId.startsWith("support-group-")) {
|
|
845
845
|
const parts = requestId.split("-");
|
|
846
846
|
// console.log("parts support request:", parts);
|
|
847
|
-
if (parts.length
|
|
847
|
+
if (parts.length >= 4) {
|
|
848
848
|
isValid = (parts[0] === "support" && parts[1] === "group" && parts[2] === projectId && parts[3].length > 0);
|
|
849
849
|
}
|
|
850
850
|
else {
|