[feat] - add authen and display transaction data

This commit is contained in:
2023-11-02 18:56:12 +07:00
parent 21af45bfa6
commit 0c5cf749bb
19 changed files with 355 additions and 34 deletions

View File

@@ -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();