Skip to content

Commit

Permalink
fix: error 로직 Promise 문법 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobbymin committed Dec 29, 2024
1 parent 5badc70 commit 91dccdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/shared/instance/Instance.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ fetchInstance.interceptors.request.use(
return config;
},
(error) => {
return Promise.reject(error);
return error;
}
);
2 changes: 1 addition & 1 deletion src/shared/instance/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { fetchInstance, BASE_URI } from './instance';
export { fetchInstance, BASE_URI } from './Instance';

0 comments on commit 91dccdf

Please sign in to comment.