diff --git a/src/utils/fetch.js b/src/utils/fetch.js index 52817b9..a421fdf 100644 --- a/src/utils/fetch.js +++ b/src/utils/fetch.js @@ -48,7 +48,7 @@ service.interceptors.response.use( }); }) } - return Promise.reject(error); + return Promise.reject('error'); } else { return response.data; }