diff --git a/src/shared/instance/Instance.jsx b/src/shared/instance/Instance.jsx index 0fc7b89..eb02a46 100644 --- a/src/shared/instance/Instance.jsx +++ b/src/shared/instance/Instance.jsx @@ -30,6 +30,6 @@ fetchInstance.interceptors.request.use( return config; }, (error) => { - return Promise.reject(error); + return error; } ); diff --git a/src/shared/instance/index.js b/src/shared/instance/index.js index 3c405e6..6fd7b47 100644 --- a/src/shared/instance/index.js +++ b/src/shared/instance/index.js @@ -1 +1 @@ -export { fetchInstance, BASE_URI } from './instance'; +export { fetchInstance, BASE_URI } from './Instance';