From 526722dffabaa493a1caf0c2e588a8e4aaff342b Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Mon, 7 Nov 2022 15:21:47 -0800 Subject: [PATCH] fix: Update invalid payload for template messages (#5802) --- .../routes/dashboard/conversation/contact/ConversationForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/dashboard/routes/dashboard/conversation/contact/ConversationForm.vue b/app/javascript/dashboard/routes/dashboard/conversation/contact/ConversationForm.vue index c9294aa2a..b56bc3490 100644 --- a/app/javascript/dashboard/routes/dashboard/conversation/contact/ConversationForm.vue +++ b/app/javascript/dashboard/routes/dashboard/conversation/contact/ConversationForm.vue @@ -264,7 +264,7 @@ export default { inboxId: this.targetInbox.inbox.id, sourceId: this.targetInbox.source_id, contactId: this.contact.id, - message: { content, templateParams }, + message: { content, template_params: templateParams }, assigneeId: this.currentUser.id, }; return payload;