Added match counter
All checks were successful
Gitea/swiss-client/pipeline/head This commit looks good
All checks were successful
Gitea/swiss-client/pipeline/head This commit looks good
This commit is contained in:
@@ -72,8 +72,8 @@ export class TournamentService {
|
||||
return this.http.post<Tournament>(`${this.tournamentsUrl}/${tournamentId}/groups/${groupId}/new`, null);
|
||||
}
|
||||
|
||||
public startMatch(tournamentId: number, matchId: number, court: number): Observable<Tournament> {
|
||||
return this.http.post<Tournament>(`${this.tournamentsUrl}/${tournamentId}/matches/${matchId}/start/${court}`, null);
|
||||
public startMatch(tournamentId: number, matchId: number, court: number, counter: number): Observable<Tournament> {
|
||||
return this.http.post<Tournament>(`${this.tournamentsUrl}/${tournamentId}/matches/${matchId}/start?court=${court}&counter=${counter}`, null);
|
||||
}
|
||||
|
||||
public stopMatch(tournamentId: number, matchId: number): Observable<Tournament> {
|
||||
|
||||
Reference in New Issue
Block a user