라이브 취소 푸시 발송 로직 추가
This commit is contained in:
@@ -475,6 +475,15 @@ class LiveRoomService(
|
||||
}
|
||||
|
||||
reservationRepository.cancelReservation(roomId = room.id!!)
|
||||
|
||||
applicationEventPublisher.publishEvent(
|
||||
FcmEvent(
|
||||
type = FcmEventType.CANCEL_LIVE,
|
||||
title = room.member!!.nickname,
|
||||
message = "라이브 취소 : ${room.title}",
|
||||
roomId = request.roomId
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
@Transactional
|
||||
|
Reference in New Issue
Block a user