From 344023018779f428de902a9cb9a976ca7e275ae4 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Wed, 25 Dec 2019 11:52:02 +0530 Subject: [PATCH] [Bug] Fix short_code param in update canned response API (#385) --- .../dashboard/routes/dashboard/settings/canned/EditCanned.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/dashboard/routes/dashboard/settings/canned/EditCanned.vue b/app/javascript/dashboard/routes/dashboard/settings/canned/EditCanned.vue index 1a5935016..dd578a56a 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/canned/EditCanned.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/canned/EditCanned.vue @@ -111,7 +111,7 @@ export default { this.$store .dispatch('updateCannedResponse', { id: this.id, - name: this.shortCode, + short_code: this.shortCode, content: this.content, }) .then(() => {