1
0
Fork 0
mirror of https://codeberg.org/beerbrawl/beerbrawl.git synced 2024-09-23 05:40:51 +02:00

fix(#125): backend: add back missing repository method

Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
This commit is contained in:
Christoph Heiss 2024-06-11 01:50:04 +02:00
parent 944acd2148
commit 7d315aafd9
Signed by: c8h4
GPG key ID: 73D5E7FDEE3DE49A

View file

@ -10,4 +10,6 @@ import at.ac.tuwien.sepr.groupphase.backend.entity.Team;
@Repository @Repository
public interface TeamRepository extends JpaRepository<Team, Long> { public interface TeamRepository extends JpaRepository<Team, Long> {
List<Team> findAllByTournamentId(Long id); List<Team> findAllByTournamentId(Long id);
List<Team> findByTournamentId(Long tournamentId);
} }