diff --git a/client/src/components/chainetv.vue b/client/src/components/chainetv.vue index 13bdddf..879de5d 100644 --- a/client/src/components/chainetv.vue +++ b/client/src/components/chainetv.vue @@ -65,12 +65,14 @@ export default { const path = process.env.ROOT_API + '/api/v1/chaine/'; axios.put(path) .then((res) => { - this.messages = res.data; - + if (res.data=='OK'){ + + } }) - .catch((error) => { + .catch((res) => { // eslint-disable-next-line - console.error(error); + alert("error during database update") + console.error(res); }); }, },