2
0

fix(engine): 🐛 Linked typebot webhook

This commit is contained in:
Baptiste Arnaud
2022-04-09 16:57:32 -05:00
parent b38b114f12
commit 8981a572ed

View File

@ -71,7 +71,7 @@ export const TypebotContext = ({
const injectLinkedTypebot = (typebot: Typebot | PublicTypebot) => { const injectLinkedTypebot = (typebot: Typebot | PublicTypebot) => {
const typebotToInject = { const typebotToInject = {
id: typebot.id, id: 'typebotId' in typebot ? typebot.typebotId : typebot.id,
blocks: typebot.blocks, blocks: typebot.blocks,
edges: typebot.edges, edges: typebot.edges,
variables: typebot.variables, variables: typebot.variables,