Skip to content

Commit 51b0a4d

Browse files
committed
댓글 다건 조회 이중 트렌젝션 -> 단일 트렌젝션
1 parent dab1140 commit 51b0a4d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

back/src/main/java/com/back/domain/post/comment/controller/PostCommentController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public RsData<Void> createComment(@PathVariable Long post_id,
4141

4242
@Operation(summary = "댓글 다건 조회")
4343
@GetMapping("/post/{post_id}")
44-
@Transactional(readOnly = true)
4544
public RsData<List<CommentAllResponse>> getAllPostComment(@PathVariable Long post_id) {
4645
List<CommentAllResponse> postAllResponse = postCommentService.getAllPostCommentResponse(post_id);
4746
return new RsData<>("200", "게시글 다건 조회 성공", postAllResponse);

0 commit comments

Comments
 (0)