Skip to content

[Fix] 부모용 자녀 스티커 현황 조회 시 부모 역할 유저가 자녀로 조회되는 버그 #99

@yunmi-dev

Description

@yunmi-dev

🚨 버그 상황

GET /api/v1/stickers/children 호출 시 연결된 상대방의 UserType이 CHILD인지 확인하지 않아 부모 역할 유저도 자녀로 조회됨

🔄 재현 방법

  1. 부모 계정 두 개를 서로 가족 연결
  2. 부모 계정으로 GET /api/v1/stickers/children 호출
  3. 연결된 부모가 자녀로 조회됨

🛠 예상 원인

StickerQueryService.getChildrenStickers에서 연결된 유저의 UserType 필터링 없이 전체 반환

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions