fix response

This commit is contained in:
wh1te909
2020-11-25 03:40:39 +00:00
parent 4e47b2a5fe
commit ac845afc1c

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