From 91dccdf390ca6c0346ecf83cbf8fcaab0954062d Mon Sep 17 00:00:00 2001 From: Dobbymin Date: Sun, 29 Dec 2024 14:03:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20error=20=EB=A1=9C=EC=A7=81=20Promise=20?= =?UTF-8?q?=EB=AC=B8=EB=B2=95=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/shared/instance/Instance.jsx | 2 +- src/shared/instance/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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';