Skip to content

Commit d0594fc

Browse files
committed
add anotation 'Transactional' in NicepayService
1 parent 162a80b commit d0594fc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/goodspace/backend/order/service/NicePayService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
import lombok.RequiredArgsConstructor;
77
import lombok.extern.slf4j.Slf4j;
88
import org.springframework.stereotype.Service;
9+
import org.springframework.transaction.annotation.Transactional;
910

1011
@Service
1112
@Slf4j
1213
@RequiredArgsConstructor
14+
@Transactional
1315
public class NicePayService {
1416
private final OrderRepository orderRepository;
1517

0 commit comments

Comments
 (0)