diff --git a/docs/code-review.md b/docs/code-review.md index 0d664d2..6327f5d 100644 --- a/docs/code-review.md +++ b/docs/code-review.md @@ -150,8 +150,8 @@ export const authDel = authApi.del; | 1 | ~~JWT Secret 기본값 제거~~ | `config/index.js` | ✅ 완료 | | 2 | ~~앨범 삭제 시 관련 테이블 정리~~ | `services/album.js` | ✅ 완료 | | 3 | ~~에러 유틸리티 통일~~ | 라우트 파일들 | ✅ 완료 | -| 4 | App.jsx 라우트 분리 | `App.jsx` | 미완료 | -| 5 | 레거시 export 정리 | `api/client.js` | 미완료 | +| 4 | ~~App.jsx 라우트 분리~~ | `App.jsx` | ✅ 완료 | +| 5 | ~~레거시 export 정리~~ | `api/client.js` | ✅ 완료 | | 6 | ~~Meilisearch 버전 업데이트~~ | `docker-compose.yml` | ✅ 완료 | | 7 | 테스트 코드 작성 | 전체 | 미완료 | diff --git a/frontend/src/api/client.js b/frontend/src/api/client.js index 4110687..3144f8d 100644 --- a/frontend/src/api/client.js +++ b/frontend/src/api/client.js @@ -143,13 +143,3 @@ export const api = createMethodHelpers(fetchApi); * @example authApi.get('/admin/stats'), authApi.post('/admin/schedules', data) */ export const authApi = createMethodHelpers(fetchAuthApi); - -// 기존 호환성을 위한 개별 export (점진적 마이그레이션 후 삭제 예정) -export const get = api.get; -export const post = api.post; -export const put = api.put; -export const del = api.del; -export const authGet = authApi.get; -export const authPost = authApi.post; -export const authPut = authApi.put; -export const authDel = authApi.del;