diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/scheduler/GitHubDataSyncService.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/scheduler/GitHubDataSyncService.java index 432a113a..3b2cd3f1 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/scheduler/GitHubDataSyncService.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/scheduler/GitHubDataSyncService.java @@ -49,7 +49,9 @@ import de.tum.in.www1.hephaestus.codereview.user.User; import de.tum.in.www1.hephaestus.codereview.user.UserConverter; import de.tum.in.www1.hephaestus.codereview.user.UserRepository; +import jakarta.transaction.Transactional; +@Transactional @Service public class GitHubDataSyncService { private static final Logger logger = LoggerFactory.getLogger(GitHubDataSyncService.class);