Adjusted paths to work with new backend
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jim Martens 2023-08-19 14:27:54 +02:00
parent 439375c8b2
commit e1a6080b83
1 changed files with 3 additions and 3 deletions

View File

@ -16,9 +16,9 @@ export class ElectionService {
private calculateURL = environment.backendURL + '/calculate';
private electionsURL = environment.backendURL + '/elections';
private electionResultURL = environment.backendURL + '/electionResult/by-election-name/';
private electionURL = environment.backendURL + '/elections/by-name/';
private partiesURL = environment.backendURL + '/parties/by-election-name/';
private electionResultURL = environment.backendURL + '/electionResult/';
private electionURL = environment.backendURL + '/elections/';
private partiesURL = environment.backendURL + '/parties/';
httpOptions = {
headers: new HttpHeaders({ 'Content-Type': 'application/json' })