fix display error message (#293)
Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -59,7 +59,7 @@ export default {
|
||||
this.useAlert.error('Something went wrong!')
|
||||
}
|
||||
}).catch((error) => {
|
||||
this.useAlert.error(error.response.data.message)
|
||||
this.useAlert.error(error.data.message)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user