Skip to content

Commit

Permalink
feat: 스터디 생성 시 푸쉬 알림 구독
Browse files Browse the repository at this point in the history
  • Loading branch information
bumssooooo committed Dec 8, 2022
1 parent 4203716 commit d410adc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Mogakco/Sources/Data/Repositories/StudyRepository.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ struct StudyRepository: StudyRepositoryProtocol {
.flatMap {
chatRoomDataSource?.create(request: $0) ?? .empty()
}
.flatMap {
pushNotificationService?.subscribeTopic(topic: $0.toDomain().id) ?? .empty()
}

let updateUser = user
.flatMap { user in
Expand Down

0 comments on commit d410adc

Please sign in to comment.