fix response

This commit is contained in:
wh1te909 2020-11-25 03:40:39 +00:00
parent 4b37fe12d7
commit e902f63211
1 changed files with 1 additions and 1 deletions

View File

@ -478,7 +478,7 @@ export default {
axios
.get(`/checks/runchecks/${pk}/`)
.then(r => this.notifySuccess(`Checks will now be re-run on ${r.data}`))
.catch(e => this.notifyError("Something went wrong"));
.catch(e => this.notifyError(e.response.data));
},
removeAgent(pk, name) {
this.$q