From 76b124e626b2460629ddac2ef045628bf8488c0f Mon Sep 17 00:00:00 2001 From: "jin.geonwoo" Date: Sun, 24 Nov 2024 19:36:21 +0900 Subject: [PATCH] =?UTF-8?q?[hotfix]=20fix:=20=EB=8C=93=EA=B8=80=20?= =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EC=A1=B0=ED=9A=8C=20=EC=BF=BC?= =?UTF-8?q?=EB=A6=AC=20=EB=82=B4=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../comment/repository/impl/QueryDslCommentQueryRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/projectlyrics/server/domain/comment/repository/impl/QueryDslCommentQueryRepository.java b/src/main/java/com/projectlyrics/server/domain/comment/repository/impl/QueryDslCommentQueryRepository.java index 630ede33..086adb0b 100644 --- a/src/main/java/com/projectlyrics/server/domain/comment/repository/impl/QueryDslCommentQueryRepository.java +++ b/src/main/java/com/projectlyrics/server/domain/comment/repository/impl/QueryDslCommentQueryRepository.java @@ -45,7 +45,7 @@ public List findAllByNoteId(Long noteId, Long userId) { JPAExpressions .select(block.blocked.id) .from(block) - .where(block.blocker.id.eq(userId)) + .where(block.blocker.id.eq(userId).and(block.deletedAt.isNull())) ) ) .orderBy(comment.id.asc())