Skip to content

Commit

Permalink
refactor:[kakao-tech-campus-2nd-step3#84]- ProductService
Browse files Browse the repository at this point in the history
불필요한 어노테이션 변경
  • Loading branch information
yooonwodyd committed Nov 12, 2024
1 parent 03938a4 commit 7c820ef
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ public ProductPage.Paging getProductsByPage(String query, Pageable pageable) {
return ProductPage.Paging.from(productPage);
}

@Transactional
@GetMapping
@Transactional(readOnly = true)
public ProductPage.Paging getProductsWithRandomPaging(Pageable pageable) {
var productPage = productRepository.findAllRandom(pageable);
return ProductPage.Paging.from(productPage);
Expand Down

0 comments on commit 7c820ef

Please sign in to comment.