Skip to content

Commit

Permalink
Fix: 트랜잭션 묶기
Browse files Browse the repository at this point in the history
  • Loading branch information
marinesnow34 authored Mar 27, 2024
1 parent e8147f1 commit bfe1954
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ private Cart getCartId(UserInfo user, Long cartId) {
}

@Override
@Transactional
public TosspaymentMakeRes requestTossPayment(CustomUserDetails userDetails, PaymentReq paymentReq) {
UserInfo user = getUserInfo(userDetails);
Cart cart = getCartId(user, paymentReq.getCartId());
Expand Down

0 comments on commit bfe1954

Please sign in to comment.