Reopen group
This commit is contained in:
@@ -64,6 +64,9 @@ export class TournamentService {
|
||||
public finishGroup(tournamentId: number, groupId: number): Observable<Tournament> {
|
||||
return this.http.post<Tournament>(`${this.tournamentsUrl}/${tournamentId}/groups/${groupId}/finish`, null);
|
||||
}
|
||||
public reopenGroup(tournamentId: number, groupId: number): Observable<Tournament> {
|
||||
return this.http.post<Tournament>(`${this.tournamentsUrl}/${tournamentId}/groups/${groupId}/reopen`, null);
|
||||
}
|
||||
|
||||
public newRound(tournamentId: number, groupId: number): Observable<Tournament> {
|
||||
return this.http.post<Tournament>(`${this.tournamentsUrl}/${tournamentId}/groups/${groupId}/new`, null);
|
||||
|
||||
Reference in New Issue
Block a user