라이브 시작 알림 - 알림 받을 유저 조회에서 에러가 발생하는 버그 수정 #36
| @@ -2,7 +2,6 @@ package kr.co.vividnext.sodalive.fcm | ||||
|  | ||||
| import kr.co.vividnext.sodalive.content.comment.AudioContentCommentRepository | ||||
| import kr.co.vividnext.sodalive.member.MemberRepository | ||||
| import org.slf4j.LoggerFactory | ||||
| import org.springframework.scheduling.annotation.Async | ||||
| import org.springframework.stereotype.Component | ||||
| import org.springframework.transaction.annotation.Propagation | ||||
| @@ -35,8 +34,6 @@ class FcmSendListener( | ||||
|     private val memberRepository: MemberRepository, | ||||
|     private val contentCommentRepository: AudioContentCommentRepository | ||||
| ) { | ||||
|     private val logger = LoggerFactory.getLogger(this::class.java) | ||||
|  | ||||
|     @Async | ||||
|     @TransactionalEventListener | ||||
|     @Transactional(propagation = Propagation.REQUIRES_NEW) | ||||
| @@ -125,7 +122,6 @@ class FcmSendListener( | ||||
|                         container = fcmEvent.container | ||||
|                     ) | ||||
|  | ||||
|                     logger.info("토큰 - $pushTokens") | ||||
|                     for (tokens in pushTokens) { | ||||
|                         pushService.send( | ||||
|                             tokens = tokens, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user