From 73e5b5f57941b45d7ca28786ab2968c331a8da8c Mon Sep 17 00:00:00 2001 From: Lukas Kimpel <lukas.kimpel@mni.thm.de> Date: Mon, 19 Mar 2018 22:36:56 +0100 Subject: [PATCH] Remove blank line, remove unused import, remove ToDo comment --- src/app/authentication.guard.ts | 1 - src/app/authentication.interceptor.ts | 1 - src/app/authentication.service.ts | 1 - 3 files changed, 3 deletions(-) diff --git a/src/app/authentication.guard.ts b/src/app/authentication.guard.ts index cec297d1b..4e4f00407 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 1185fe4a0..071cba6ae 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 7f98cf3bf..2d8b5ccc9 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'; -- GitLab