fix: Update invalid payload for template messages (#5802)

This commit is contained in:
Pranav Raj S 2022-11-07 15:21:47 -08:00 committed by GitHub
parent a23974d8b9
commit 526722dffa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;