@tiledesk/tiledesk-server 2.4.5 → 2.4.6
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -328,6 +328,7 @@ class RulesTrigger {
|
|
328
328
|
|
329
329
|
var intentName = action.parameters.intentName;
|
330
330
|
winston.debug('runAction action intentName: ' + intentName);
|
331
|
+
|
331
332
|
|
332
333
|
var botId = action.parameters.botId;
|
333
334
|
winston.debug('runAction action botId: ' + botId);
|
@@ -367,6 +368,11 @@ class RulesTrigger {
|
|
367
368
|
winston.debug('runAction action payload: ', payload);
|
368
369
|
|
369
370
|
|
371
|
+
if (message && payload.text) {
|
372
|
+
payload.text = message;
|
373
|
+
winston.debug('forcing payload text to : ' + payload.text);
|
374
|
+
}
|
375
|
+
|
370
376
|
delete payload.request.snapshot
|
371
377
|
|
372
378
|
var json = {timestamp: Date.now(), payload: payload};
|