diff --git a/src/main/java/de/tum/cit/aet/artemis/lecture/repository/LectureTranscriptionRepository.java b/src/main/java/de/tum/cit/aet/artemis/lecture/repository/LectureTranscriptionRepository.java index 5c903565db4c..c42a9050b3a2 100644 --- a/src/main/java/de/tum/cit/aet/artemis/lecture/repository/LectureTranscriptionRepository.java +++ b/src/main/java/de/tum/cit/aet/artemis/lecture/repository/LectureTranscriptionRepository.java @@ -8,7 +8,6 @@ import org.springframework.context.annotation.Profile; import org.springframework.data.jpa.repository.EntityGraph; -import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Repository; import de.tum.cit.aet.artemis.core.repository.base.ArtemisJpaRepository; @@ -22,12 +21,12 @@ public interface LectureTranscriptionRepository extends ArtemisJpaRepository { @EntityGraph(type = LOAD, attributePaths = { "segments" }) - Optional findOneWithTranscriptionSegmentsById(@Param("id") Long id); + Optional findOneWithTranscriptionSegmentsById(Long id); @EntityGraph(type = LOAD, attributePaths = { "segments" }) - Set findAllWithTranscriptionSegmentsByLectureId(@Param("lectureId") Long lectureId); + Set findAllWithTranscriptionSegmentsByLectureId(Long lectureId); @EntityGraph(type = LOAD, attributePaths = {}) - Set findAllByLectureId(@Param("lectureId") Long lectureId); + Set findAllByLectureId(Long lectureId); }