Skip to content

Commit b6ca037

Browse files
committed
CLAP-162 Fix: 알림 생성 service @transactional 어노테이션 추가
1 parent 97dbdd3 commit b6ca037

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/clap/server/application/service/notification/CreateNotificationService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
import clap.server.common.annotation.architecture.ApplicationService;
55
import clap.server.domain.model.notification.Notification;
66
import lombok.RequiredArgsConstructor;
7+
import org.springframework.transaction.annotation.Transactional;
78

89
@ApplicationService
910
@RequiredArgsConstructor
1011
public class CreateNotificationService{
1112

1213
private final CommandNotificationPort commandNotificationPort;
1314

15+
@Transactional
1416
public void createNotification(Notification request) {
1517

1618
commandNotificationPort.save(request);

0 commit comments

Comments
 (0)