the one that was lost
This commit is contained in:
parent
509fadca11
commit
5bd1665b45
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,11 @@ const axios = AxiosBootstrap.create({
|
|||
auth: config.service.auth
|
||||
});
|
||||
|
||||
axios.interceptors.response.use(response => response, error => {
|
||||
console.error(error); // todo: toast error
|
||||
return Promise.reject(error);
|
||||
});
|
||||
|
||||
const store = new Vuex.Store({
|
||||
state: {
|
||||
events: [],
|
||||
|
|
Loading…
Reference in a new issue