2
0

🐛 (bot) Update result variables when overwritten by input

This commit is contained in:
Baptiste Arnaud
2022-12-28 16:07:07 +01:00
parent 5b061280dd
commit f49a3013d4
2 changed files with 24 additions and 8 deletions

View File

@@ -52,7 +52,7 @@ export const InputChatBlock = ({
setAnswer(label ?? value)
const isRetry = !isInputValid(value, block.type)
if (!isRetry && addAnswer)
await addAnswer({
await addAnswer(typebot.variables)({
blockId: block.id,
groupId: block.groupId,
content: value,