Reopen group
This commit is contained in:
@@ -47,6 +47,12 @@ public class TournamentPlayService {
|
||||
return tournament;
|
||||
}
|
||||
|
||||
public Tournament reopenGroup(Tournament tournament, Long groupId) {
|
||||
getGroup(tournament, groupId).setStatus(Status.IN_PROGRESS);
|
||||
tournamentRepository.save(tournament);
|
||||
return tournament;
|
||||
}
|
||||
|
||||
public Tournament newRound(Tournament tournament, Long groupId) {
|
||||
var group = getGroup(tournament, groupId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user