Skip to content

[fix] 선호 레벨/분야 API 버그 해결 #97

@sispo3314

Description

@sispo3314

📄 설명

현재 선호 레벨/분야 수정 로직의 ID 검증 기준이 잘못되어 400에러가 발생하고 있습니다. 요청의 categoryIds/genreIds를 선호 테이블 PK가 아니라 실제 도서 데이터에 존재하는 categoryId/genreId 집합으로 검증하도록 수정합니다.

✅ 작업할 내용

  • MyProfileService에 BookRepository 주입
  • findDistinctCategoryIds()/findDistinctGenreIds() 기반 검증 변경

🙋🏻 참고 자료

No response

Metadata

Metadata

Assignees

Labels

🐞BugFixSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions