Skip to content

Commit

Permalink
readOnly = fase 수정 (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hwan authored Nov 16, 2024
1 parent 4cdc7e7 commit f2c3188
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void createNotice(@AuthedUser User user, Long groupId, CreateNoticeReques
log.info("success to create notice");
}

@Transactional(readOnly = true)
@Transactional(readOnly = false)
public GetNoticeResponse getNotice(@AuthedUser User user, Long noticeId) {
Notice notice = noticeRepository.findById(noticeId)
.orElseThrow(() -> new NoticeValidationException("존재하지 않는 게시글입니다"));
Expand Down

0 comments on commit f2c3188

Please sign in to comment.