Nodes per country list component

This commit is contained in:
nymkappa
2022-07-16 15:56:36 +02:00
parent fc5fd244d0
commit 376484a937
9 changed files with 172 additions and 4 deletions

View File

@@ -254,4 +254,8 @@ export class ApiService {
getNodesPerAs(): Observable<any> {
return this.httpClient.get<any[]>(this.apiBaseUrl + this.apiBasePath + '/api/v1/lightning/nodes/asShare');
}
getNodeForCountry$(country: string): Observable<any> {
return this.httpClient.get<any[]>(this.apiBaseUrl + this.apiBasePath + '/api/v1/lightning/nodes/country/' + country);
}
}