Use correct url for blocks-extras API - Fix amountShortner pipe

This commit is contained in:
nymkappa
2022-03-13 11:37:56 +01:00
parent 33897b029f
commit ab486bfe6e
4 changed files with 34 additions and 17 deletions

View File

@@ -153,7 +153,7 @@ export class ApiService {
getBlocks$(from: number): Observable<BlockExtended[]> {
return this.httpClient.get<BlockExtended[]>(
this.apiBasePath + this.apiBasePath + `/api/v1/blocks-extras` +
this.apiBaseUrl + this.apiBasePath + `/api/v1/blocks-extras` +
(from !== undefined ? `/${from}` : ``)
);
}