From 98c289dc3ec648f06de065ce149d576e1ad411ac Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Wed, 28 Dec 2022 12:49:11 +0530 Subject: [PATCH] chore: Fixes issue showing the CSAT error message (#6136) Approved by Muhsin --- app/javascript/survey/views/Response.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/survey/views/Response.vue b/app/javascript/survey/views/Response.vue index 828a9cbee..a8dfd8a1a 100644 --- a/app/javascript/survey/views/Response.vue +++ b/app/javascript/survey/views/Response.vue @@ -174,7 +174,7 @@ export default { feedback_message: this.feedbackMessage, }; } catch (error) { - const errorMessage = error?.response?.data?.message; + const errorMessage = error?.response?.data?.error; this.errorMessage = errorMessage || this.$t('SURVEY.API.ERROR_MESSAGE'); } finally { this.isUpdating = false;