Block prediction -> Block health - Fix wrong chart download name

This commit is contained in:
nymkappa
2023-03-16 17:03:32 +09:00
committed by softsimon
parent 7b127ebe8b
commit 720c2b8807
13 changed files with 45 additions and 79 deletions

View File

@@ -238,7 +238,7 @@ export class ApiService {
);
}
getHistoricalBlockPrediction$(interval: string | undefined) : Observable<any> {
getHistoricalBlocksHealth$(interval: string | undefined) : Observable<any> {
return this.httpClient.get<any[]>(
this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/blocks/predictions` +
(interval !== undefined ? `/${interval}` : ''), { observe: 'response' }