From 4cecaffc60033c9a988d5b682e483452921c3f73 Mon Sep 17 00:00:00 2001 From: beomsoo0 <73675540+beomsoo0@users.noreply.github.com> Date: Thu, 8 Dec 2022 15:47:25 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=8A=A4=ED=84=B0=EB=94=94=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=20=EC=8B=9C=20=ED=91=B8=EC=89=AC=20=EC=95=8C=EB=A6=BC?= =?UTF-8?q?=20=EA=B5=AC=EB=8F=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mogakco/Sources/Data/Repositories/StudyRepository.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Mogakco/Sources/Data/Repositories/StudyRepository.swift b/Mogakco/Sources/Data/Repositories/StudyRepository.swift index 4a49c513..0802fe90 100644 --- a/Mogakco/Sources/Data/Repositories/StudyRepository.swift +++ b/Mogakco/Sources/Data/Repositories/StudyRepository.swift @@ -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