fix: 예약 취소 푸시 발송

- push 토큰 가져올 때 push token 테이블을 참조하지 않아 발생하는 버그 수정
This commit is contained in:
Klaus 2025-05-09 11:28:01 +09:00
parent b915ace6ff
commit ced35af66d
1 changed files with 2 additions and 1 deletions

View File

@ -424,7 +424,8 @@ class MemberQueryRepositoryImpl(
.from(liveReservation)
.innerJoin(liveReservation.room, liveRoom)
.innerJoin(liveReservation.member, member)
.where(where.and(pushToken.deviceType.eq("aos")))
.innerJoin(pushToken).on(member.id.eq(pushToken.member.id))
.where(where.and(pushToken.deviceType.eq("ios")))
.fetch()
.toSet()
.chunked(500)