This repository has been archived on 2026-11-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
thetool/public/plugins/axios/axios.inject.js
T
2024-07-16 06:55:46 +00:00

7 lines
223 B
JavaScript

axios.interceptors.response.use(function (response) {
return response;
}, function (error) {
window.notify('error', error.response.data.message || 'Ein Fehler ist aufgetreten')
return Promise.reject(error);
});