Nodes per country list component

This commit is contained in:
nymkappa committed 2022-07-16 23:23:13 +02:00
1 parent 7a52ae1c7f
commit ff63157bb0
9 files changed
+172 -4

No files matched your search

+4
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);
}
}