From d4e4295ab8d881245e74598542fe88c19465ca51 Mon Sep 17 00:00:00 2001 From: Hanjaemo <110653660+Hanjaemo@users.noreply.github.com> Date: Fri, 5 Apr 2024 01:45:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B2=8C=EC=8B=9C=EA=B8=80=20=EB=8B=A8?= =?UTF-8?q?=EA=B1=B4=20=EC=A1=B0=ED=9A=8C=20=EB=A9=94=EC=84=9C=EB=93=9C?= =?UTF-8?q?=EC=9D=98=20readOnly=20=EC=84=A4=EC=A0=95=20=ED=95=B4=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/balancetalk/module/post/application/PostService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/balancetalk/module/post/application/PostService.java b/src/main/java/balancetalk/module/post/application/PostService.java index b1756e446..822526ab8 100644 --- a/src/main/java/balancetalk/module/post/application/PostService.java +++ b/src/main/java/balancetalk/module/post/application/PostService.java @@ -92,7 +92,7 @@ public Page findAll(String token, Pageable pageable) { member.hasVoted(post))); } - @Transactional(readOnly = true) + @Transactional public PostResponse findById(Long postId, String token) { Post post = getCurrentPost(postId);