Add channels map to the node page
This commit is contained in:
1 parent
605f391e81
commit
ed2251cb86
10 files changed
+151
-42
No files matched your search
@@ -271,7 +271,10 @@ export class ApiService {
|
||||
return this.httpClient.get<any[]>(this.apiBaseUrl + this.apiBasePath + '/api/v1/lightning/nodes/countries');
|
||||
}
|
||||
|
||||
getChannelsGeo$(): Observable<any> {
|
||||
return this.httpClient.get<any[]>(this.apiBaseUrl + this.apiBasePath + '/api/v1/lightning/channels-geo');
|
||||
getChannelsGeo$(publicKey?: string): Observable<any> {
|
||||
return this.httpClient.get<any[]>(
|
||||
this.apiBaseUrl + this.apiBasePath + '/api/v1/lightning/channels-geo' +
|
||||
(publicKey !== undefined ? `/${publicKey}` : '')
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user