Skip to content

Commit

Permalink
refactor: @transactional 추가 #3
Browse files Browse the repository at this point in the history
  • Loading branch information
623nana committed Jul 29, 2021
1 parent 9ff9d72 commit 5da4ba0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public class LetterService {
private final LetterRepository letterRepository;
private final SendOptionRepository sendOptionRepository;

@Transactional(readOnly = true)
public List<OptionResponse> options() {
return sendOptionRepository.findAll()
.stream()
Expand Down

0 comments on commit 5da4ba0

Please sign in to comment.