diff --git a/src/main/java/com/noplanb/domain/quest/application/QuestService.java b/src/main/java/com/noplanb/domain/quest/application/QuestService.java index 0ef5b3d..73338d8 100644 --- a/src/main/java/com/noplanb/domain/quest/application/QuestService.java +++ b/src/main/java/com/noplanb/domain/quest/application/QuestService.java @@ -187,6 +187,8 @@ public ResponseEntity deleteQuest(UserPrincipal userPrincipal, Long id) { Quest quest = quests.stream().filter(q -> q.getId().equals(id)) .findFirst() .orElseThrow(QuestNotFoundException::new); + System.out.println("quest.getContents() = " + quest.getContents()); + quests.remove(quest); questRepository.delete(quest); return createApiResponse(Message.builder().message("퀘스트를 삭제했습니다.").build());