Enhance node-resolver for new API

This commit is contained in:
Rene Vergara 2023-05-08 12:10:33 -05:00
parent 624fbf27e8
commit 96eb3eb7f6
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -15,7 +15,7 @@ export class NodeResolverService implements Resolve<any> {
resolve(route: ActivatedRouteSnapshot): Observable<any> {
console.log('Called getAddr in resolver...', route);
return this.fullnode.getAddr().pipe(
catchError(error => {
catchError(() => {
return of('No data');
})
);