Skip to content

Commit

Permalink
fix: participateUserInterface에서 messaging 사용하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chansooo committed Nov 2, 2023
1 parent ebdd64b commit 8784f84
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import MOITParticipateUserInterface
import MOITParticipateDomain
import MOITDetail
import MOITDetailDomain
//import FirebaseMessaging

import FirebaseMessaging
import RIBs
import RxSwift

Expand Down Expand Up @@ -73,10 +74,10 @@ final class InputParticipateCodeInteractor: PresentableInteractor<InputParticipa
let moitDetailProfileInfoViewModel = self.convertToMOITDetailProfileInfoViewModel(
model: participateEntity
)
// print("모👀잇 아이디 등록 MOIT-\(participateEntity.moitID)")
// Messaging.messaging().subscribe(toTopic: "MOIT-\(participateEntity.moitID)") { error in
// print("register topic subscribe error is 👉", error)
// }
print("모👀잇 아이디 등록 MOIT-\(participateEntity.moitID)")
Messaging.messaging().subscribe(toTopic: "MOIT-\(participateEntity.moitID)") { error in
print("register topic subscribe error is 👉", error)
}

self.router?.attachPariticipationSuccess(with: moitDetailProfileInfoViewModel)
case .failure:
Expand Down

0 comments on commit 8784f84

Please sign in to comment.