From c0b42d826f168c0f57535be7482e3e5db6728522 Mon Sep 17 00:00:00 2001 From: "tae.y" <0211ilyoil@gmail.com> Date: Thu, 7 Nov 2024 08:36:51 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20::=20(836)=20=EB=94=94?= =?UTF-8?q?=EB=B0=94=EC=9D=B4=EC=8A=A4=20=ED=86=A0=ED=81=B0=20=ED=94=8C?= =?UTF-8?q?=EB=9E=AB=ED=8F=BC=20=ED=83=80=EC=9E=85=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jobis/domain/student/usecase/StudentSignUpUseCase.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jobis-application/src/main/java/team/retum/jobis/domain/student/usecase/StudentSignUpUseCase.java b/jobis-application/src/main/java/team/retum/jobis/domain/student/usecase/StudentSignUpUseCase.java index 74d429d91..50d704d33 100644 --- a/jobis-application/src/main/java/team/retum/jobis/domain/student/usecase/StudentSignUpUseCase.java +++ b/jobis-application/src/main/java/team/retum/jobis/domain/student/usecase/StudentSignUpUseCase.java @@ -6,6 +6,7 @@ import team.retum.jobis.domain.auth.dto.response.TokenResponse; import team.retum.jobis.domain.auth.model.AuthCode; import team.retum.jobis.domain.auth.model.Authority; +import team.retum.jobis.domain.auth.model.PlatformType; import team.retum.jobis.domain.auth.spi.JwtPort; import team.retum.jobis.domain.auth.spi.QueryAuthCodePort; import team.retum.jobis.domain.notification.spi.NotificationPort; @@ -70,7 +71,9 @@ public TokenResponse execute(StudentSignUpRequest request) { .build() ); - notificationPort.subscribeAllTopic(user); + if (request.platformType() != PlatformType.WEB) { + notificationPort.subscribeAllTopic(user); + } commandVerifiedStudentPort.deleteByGcnAndName( SchoolNumber.processSchoolNumber(student.getSchoolNumber()),