[feat] - add authen and display transaction data
This commit is contained in:
@@ -7,7 +7,12 @@ import {catchError, Observable, throwError} from 'rxjs';
|
||||
|
||||
@Injectable()
|
||||
export class AppRequestInterceptor implements HttpInterceptor {
|
||||
constructor(private router: Router,private appService: AppService) {}
|
||||
constructor(
|
||||
private router: Router,
|
||||
private appService: AppService
|
||||
) {
|
||||
|
||||
}
|
||||
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
|
||||
const token = this.appService.token();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user