Skip to content

Commit 5e8e0f6

Browse files
committed
CLAP-431 Fix : 작업 상태 변경 메시지 내용 수정
1 parent 0ed897e commit 5e8e0f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void terminateTask(Long memberId, Long taskId, String reason) {
3434
TaskHistory taskHistory = TaskHistory.createTaskHistory(TaskHistoryType.TASK_TERMINATED, task, reason, null, null);
3535
commandTaskHistoryPort.save(taskHistory);
3636

37-
publishNotification(task.getRequester(), task, String.valueOf(task.getTaskStatus()), reason);
37+
publishNotification(task.getRequester(), task, task.getTaskStatus().getDescription(), reason);
3838

3939
}
4040

0 commit comments

Comments
 (0)