Skip to content

Commit

Permalink
fix: add flow mode to flow message
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobernardoaf committed Sep 24, 2024
1 parent 1aa9090 commit c97e8f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions flows/actions/send_wpp_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ func (a *SendWppMsgAction) Execute(run flows.FlowRun, step flows.Step, logModifi
FlowData: evaluatedFlowData,
FlowScreen: evaluatedFlowScreen,
FlowCTA: evaluatedButtonText,
FlowMode: a.FlowMode,
}
}

Expand Down
1 change: 1 addition & 0 deletions flows/msg_wpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type FlowMessage struct {
FlowData FlowData `json:"flow_data,omitempty"`
FlowScreen string `json:"flow_screen,omitempty"`
FlowCTA string `json:"flow_cta,omitempty"`
FlowMode string `json:"flow_mode,omitempty"`
}

type ListItems struct {
Expand Down

0 comments on commit c97e8f2

Please sign in to comment.