From 65f0a4c15ad5fb775ec17b8c83dfeb5a8363cd8f Mon Sep 17 00:00:00 2001 From: Shem Date: Mon, 22 Jan 2024 10:54:46 +0000 Subject: [PATCH] Fix --- backend/src/main/java/io/spring/api/CommentsApi.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/java/io/spring/api/CommentsApi.java b/backend/src/main/java/io/spring/api/CommentsApi.java index 1d7a483..fa7364b 100644 --- a/backend/src/main/java/io/spring/api/CommentsApi.java +++ b/backend/src/main/java/io/spring/api/CommentsApi.java @@ -70,6 +70,7 @@ public ResponseEntity deleteComment( .findById(item.getId(), commentId) .map( comment -> { + // todo commentRepository.remove(comment); return ResponseEntity.noContent().build(); })