Skip to content

[Feat] - 청약 진단 결과 기반으로 추천 공고 조회 API 작성 #380

@kyungchan3007

Description

@kyungchan3007

📄 이슈 내용

  • 청약 진단 결과를 기반으로 추천 공고를 조회 API 작성
  • 관련 컴포넌트 리펙토링 및 예외 처리 추가

📝 상세 내용

• 공통 http 레이어에서 success:false일 때 AxiosResponse가 throw되는 케이스가 생겨서 isAxiosError만으로는 못 잡는 경우가 있음.
• 그래서 훅에서만 처리하려면, catch에서 AxiosError와 일반 Response 둘 다 메시지를 뽑는 분기가 필요함.
• “토스트 띄우되 에러 상태 유지”는 toast.error(message)

image

✅ 체크리스트

  • 예외 테스트
  • 빌드 테스트
  • API 테스트

Metadata

Metadata

Assignees

Labels

FeatFeature 작업 상황을 입력해주세요.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions