wingbot 3.68.4 → 3.68.5
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
|
@@ -48,7 +48,7 @@ function conversationTestApi (testsSource, botFactory, options, acl) {
|
|
|
48
48
|
|
|
49
49
|
await ctx.audit('conversationTest', args);
|
|
50
50
|
|
|
51
|
-
return test.test(validationRequestBody, step, lang);
|
|
51
|
+
return test.test(validationRequestBody, step, lang, ctx.params.snapshot);
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -102,7 +102,7 @@ function validateBotApi (botFactory, postBackTest = null, textTest = null, acl =
|
|
|
102
102
|
validationRequestBody = decompress(validationRequestBody);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
const bot = await Promise.resolve(botFactory(true, ctx.snapshot));
|
|
105
|
+
const bot = await Promise.resolve(botFactory(true, ctx.params.snapshot));
|
|
106
106
|
|
|
107
107
|
await ctx.audit('validateBot');
|
|
108
108
|
return validate(bot, validationRequestBody, postBackTest, textTest);
|