Skip to content

Commit

Permalink
CLAP-367 Fix: 작업 삭제 호출 시 isDeleted false 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
parkjaehak committed Feb 10, 2025
1 parent 8b77c28 commit cdabe2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/clap/server/domain/model/task/Task.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public void cancelTask(Long requesterId) {
throw new DomainException(NOT_A_REQUESTER);
}
this.taskStatus = TaskStatus.TERMINATED;
this.isDeleted = true;
this.finishedAt = LocalDateTime.now();
}
}

0 comments on commit cdabe2b

Please sign in to comment.