Skip to content

Commit d6fd1a8

Browse files
authored
fix: add proper id for branch in repository (#526)
1 parent b3af4cb commit d6fd1a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/application-server/src/main/java/de/tum/cit/aet/helios/branch/BranchRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import org.springframework.stereotype.Repository;
77

88
@Repository
9-
public interface BranchRepository extends JpaRepository<Branch, Long> {
9+
public interface BranchRepository extends JpaRepository<Branch, BranchId> {
1010
Optional<Branch> findByName(String name);
1111

1212
Optional<Branch> findByNameAndRepositoryRepositoryId(String name, Long repositoryId);

0 commit comments

Comments
 (0)