Enhance node-resolver for new API
This commit is contained in:
parent
624fbf27e8
commit
96eb3eb7f6
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ export class NodeResolverService implements Resolve<any> {
|
||||||
resolve(route: ActivatedRouteSnapshot): Observable<any> {
|
resolve(route: ActivatedRouteSnapshot): Observable<any> {
|
||||||
console.log('Called getAddr in resolver...', route);
|
console.log('Called getAddr in resolver...', route);
|
||||||
return this.fullnode.getAddr().pipe(
|
return this.fullnode.getAddr().pipe(
|
||||||
catchError(error => {
|
catchError(() => {
|
||||||
return of('No data');
|
return of('No data');
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue