Skip to content

Commit e4ded77

Browse files
committed
CLAP-403 Fix : 작업 종료 권한 수정
1 parent 790e3dc commit e4ded77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/clap/server/application/service/task/TerminateTaskService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public class TerminateTaskService implements TerminateTaskUsecase {
2828

2929
@Override
3030
public void terminateTask(Long memberId, Long taskId, String reason) {
31-
memberService.findReviewer(memberId);
3231
Task task = taskService.findById(taskId);
3332
task.terminateTask();
3433
taskService.upsert(task);
@@ -42,5 +41,6 @@ public void terminateTask(Long memberId, Long taskId, String reason) {
4241

4342
private void publishNotification(Member receiver, Task task, String message, String reason) {
4443
sendNotificationService.sendPushNotification(receiver, NotificationType.STATUS_SWITCHED, task, message, reason, null, false);
44+
sendNotificationService.sendAgitNotification(NotificationType.STATUS_SWITCHED, task, message, null);
4545
}
4646
}

0 commit comments

Comments
 (0)