Skip to content

Commit

Permalink
refactor(plugin-flow-builder): store in session every new flow_thread_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Iru89 committed Oct 2, 2024
1 parent c3b251a commit 8103b43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/botonic-plugin-flow-builder/src/tracking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ function getContentEventArgs(
}
) {
const flowThreadId = request.session.flow_thread_id ?? uuid()
request.session.flow_thread_id = flowThreadId

return {
flowThreadId,
flowId: contentInfo.flowId,
Expand Down

0 comments on commit 8103b43

Please sign in to comment.