move block audit endpoint from mining to bitcoin routes

This commit is contained in:
Mononaut
2022-11-25 19:32:50 +09:00
parent 201b32bdcd
commit e627122239
5 changed files with 30 additions and 14 deletions

View File

@@ -230,7 +230,7 @@ export class ApiService {
getBlockAudit$(hash: string) : Observable<any> {
return this.httpClient.get<any>(
this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/blocks/audit/` + hash, { observe: 'response' }
this.apiBaseUrl + this.apiBasePath + `/api/v1/block/${hash}/audit-summary`, { observe: 'response' }
);
}