diff --git a/src/app/authentication.guard.ts b/src/app/authentication.guard.ts index cec297d1bb377e163c193e08af9f23227feccee4..4e4f004072101b72a224b54a4236be5b33d5202d 100644 --- a/src/app/authentication.guard.ts +++ b/src/app/authentication.guard.ts @@ -1,6 +1,5 @@ import { Injectable } from '@angular/core'; import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router'; -import { Observable } from 'rxjs/Observable'; import { AuthenticationService } from './authentication.service'; import 'rxjs/add/operator/map'; import 'rxjs/add/observable/of'; diff --git a/src/app/authentication.interceptor.ts b/src/app/authentication.interceptor.ts index 1185fe4a00749c227b55f2d5313e1ec8d1b331a2..071cba6ae663016ab49bd4fcf16ead90792b2df7 100644 --- a/src/app/authentication.interceptor.ts +++ b/src/app/authentication.interceptor.ts @@ -40,5 +40,4 @@ export class AuthenticationInterceptor implements HttpInterceptor { return next.handle(req); } } - } diff --git a/src/app/authentication.service.ts b/src/app/authentication.service.ts index 7f98cf3bf5da5ad74cac141a3dd75d91057955dd..2d8b5ccc9a7b95c71c895140fc19ff838c19a72a 100644 --- a/src/app/authentication.service.ts +++ b/src/app/authentication.service.ts @@ -7,7 +7,6 @@ import { DataStoreService } from './data-store.service'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { ClientAuthentication } from './client-authentication'; -// TODO: connect to API @Injectable() export class AuthenticationService { private readonly STORAGE_KEY: string = 'USER';