Skip to content

Commit fac7e49

Browse files
committed
fix add-message data
1 parent d321a80 commit fac7e49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/dixa/actions/add-message/add-message.mjs

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ export default {
5151
$,
5252
conversationId: this.conversationId,
5353
data: {
54+
agentId: this.direction === "Outbound"
55+
? this.agentId
56+
: undefined,
5457
content: {
55-
agentId: this.direction !== "Outbound"
56-
? this.agentId
57-
: undefined,
5858
value: this.content,
5959
_type: "Text",
6060
},

0 commit comments

Comments
 (0)