🐛 (sendMessage) Correctly preprocess and parse fetched bot
This commit is contained in:
@@ -124,7 +124,9 @@ export const executeGroup =
|
||||
if (!nextEdgeId && state.typebotsQueue.length === 1)
|
||||
return { messages, newSessionState, clientSideActions, logs }
|
||||
|
||||
const nextGroup = getNextGroup(newSessionState)(nextEdgeId ?? undefined)
|
||||
const nextGroup = await getNextGroup(newSessionState)(
|
||||
nextEdgeId ?? undefined
|
||||
)
|
||||
|
||||
newSessionState = nextGroup.newSessionState
|
||||
|
||||
|
||||
Reference in New Issue
Block a user