chore: Fixes issue showing the CSAT error message (#6136)
Approved by Muhsin
This commit is contained in:
parent
3e91765472
commit
98c289dc3e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue