From 13fc0b3fe1968f9b54ec3aec6b3d4d73d9ba1cc8 Mon Sep 17 00:00:00 2001 From: Lukas Kimpel <lukas.kimpel@mni.thm.de> Date: Tue, 13 Mar 2018 00:04:01 +0100 Subject: [PATCH] Create empty httpHeaders to be able to send post request Reformat code --- src/app/authentication.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/authentication.service.ts b/src/app/authentication.service.ts index 16cd87030..e53a9cc82 100644 --- a/src/app/authentication.service.ts +++ b/src/app/authentication.service.ts @@ -24,6 +24,7 @@ export class AuthenticationService { headers: new HttpHeaders({}) }; + constructor(private dataStoreService: DataStoreService, private http: HttpClient) { if (dataStoreService.has(this.STORAGE_KEY)) { -- GitLab