mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 14:50:52 +01:00
Don't prepend apiBasePath for services backend resources
This commit is contained in:
parent
aa08ac6edc
commit
b75f263c7e
1 changed files with 5 additions and 5 deletions
|
@ -78,23 +78,23 @@ export class ApiService {
|
||||||
amount: amount,
|
amount: amount,
|
||||||
orderId: orderId,
|
orderId: orderId,
|
||||||
};
|
};
|
||||||
return this.httpClient.post<any>(this.apiBaseUrl + this.apiBasePath + '/api/v1/donations', params);
|
return this.httpClient.post<any>(this.apiBaseUrl + '/api/v1/donations', params);
|
||||||
}
|
}
|
||||||
|
|
||||||
getDonation$(): Observable<any[]> {
|
getDonation$(): Observable<any[]> {
|
||||||
return this.httpClient.get<any[]>(this.apiBaseUrl + this.apiBasePath + '/api/v1/donations');
|
return this.httpClient.get<any[]>(this.apiBaseUrl + '/api/v1/donations');
|
||||||
}
|
}
|
||||||
|
|
||||||
getTranslators$(): Observable<ITranslators> {
|
getTranslators$(): Observable<ITranslators> {
|
||||||
return this.httpClient.get<ITranslators>(this.apiBaseUrl + this.apiBasePath + '/api/v1/translators');
|
return this.httpClient.get<ITranslators>(this.apiBaseUrl + '/api/v1/translators');
|
||||||
}
|
}
|
||||||
|
|
||||||
getContributor$(): Observable<any[]> {
|
getContributor$(): Observable<any[]> {
|
||||||
return this.httpClient.get<any[]>(this.apiBaseUrl + this.apiBasePath + '/api/v1/contributors');
|
return this.httpClient.get<any[]>(this.apiBaseUrl + '/api/v1/contributors');
|
||||||
}
|
}
|
||||||
|
|
||||||
checkDonation$(orderId: string): Observable<any[]> {
|
checkDonation$(orderId: string): Observable<any[]> {
|
||||||
return this.httpClient.get<any[]>(this.apiBaseUrl + this.apiBasePath + '/api/v1/donations/check?order_id=' + orderId);
|
return this.httpClient.get<any[]>(this.apiBaseUrl + '/api/v1/donations/check?order_id=' + orderId);
|
||||||
}
|
}
|
||||||
|
|
||||||
getInitData$(): Observable<WebsocketResponse> {
|
getInitData$(): Observable<WebsocketResponse> {
|
||||||
|
|
Loading…
Add table
Reference in a new issue