Fix AI error message

This commit is contained in:
Julien Nahum 2023-03-27 17:02:41 +02:00
parent 0de67278fc
commit b5c152400d
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ export default {
this.$emit('form-generated', response.data.form) this.$emit('form-generated', response.data.form)
this.$emit('close') this.$emit('close')
}).catch(error => { }).catch(error => {
this.alertError(error.data.message) this.alertError(error.response.data.message)
this.state = 'default' this.state = 'default'
}) })
} }