diff --git a/ui/hv2-ui/src/app/auth-handler.interceptor.ts b/ui/hv2-ui/src/app/auth-handler.interceptor.ts index 4a0c8b9..be24dc1 100644 --- a/ui/hv2-ui/src/app/auth-handler.interceptor.ts +++ b/ui/hv2-ui/src/app/auth-handler.interceptor.ts @@ -21,7 +21,7 @@ export class AuthHandlerInterceptor implements HttpInterceptor { if (request.url.includes(serviceBaseUrl) && token) { this.messageService.add("start refresh of tokens") this.tokenService.refresh() - + this.messageService.add("api request intercepted") const clone = request.clone({ setHeaders: { Authorization: `Bearer ${token}`} diff --git a/ui/hv2-ui/src/app/token.service.ts b/ui/hv2-ui/src/app/token.service.ts index 2bacf13..324aa70 100644 --- a/ui/hv2-ui/src/app/token.service.ts +++ b/ui/hv2-ui/src/app/token.service.ts @@ -79,5 +79,4 @@ export class TokenService { this.messageService.add("Token removed from local storage") } } - }