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:
parent
944acd2148
commit
7d315aafd9
|
@ -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);
|
||||||
}
|
}
|
Loading…
Reference in a new issue