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

This commit is contained in:
nymkappa committed 2022-03-13 16:08:32 +01:00
1 parent c601f92732
commit ea677c979e
4 files changed
+34 -17

No files matched your search

+1 -1
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}` : ``)
);
}