diff --git a/frontend/src/app/services/api.service.ts b/frontend/src/app/services/api.service.ts index 9b096394a..8ef656013 100644 --- a/frontend/src/app/services/api.service.ts +++ b/frontend/src/app/services/api.service.ts @@ -78,23 +78,23 @@ export class ApiService { amount: amount, orderId: orderId, }; - return this.httpClient.post(this.apiBaseUrl + this.apiBasePath + '/api/v1/donations', params); + return this.httpClient.post(this.apiBaseUrl + '/api/v1/donations', params); } getDonation$(): Observable { - return this.httpClient.get(this.apiBaseUrl + this.apiBasePath + '/api/v1/donations'); + return this.httpClient.get(this.apiBaseUrl + '/api/v1/donations'); } getTranslators$(): Observable { - return this.httpClient.get(this.apiBaseUrl + this.apiBasePath + '/api/v1/translators'); + return this.httpClient.get(this.apiBaseUrl + '/api/v1/translators'); } getContributor$(): Observable { - return this.httpClient.get(this.apiBaseUrl + this.apiBasePath + '/api/v1/contributors'); + return this.httpClient.get(this.apiBaseUrl + '/api/v1/contributors'); } checkDonation$(orderId: string): Observable { - return this.httpClient.get(this.apiBaseUrl + this.apiBasePath + '/api/v1/donations/check?order_id=' + orderId); + return this.httpClient.get(this.apiBaseUrl + '/api/v1/donations/check?order_id=' + orderId); } getInitData$(): Observable {