diff options
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/login/login.component.ts | 3 | ||||
-rw-r--r-- | client/src/app/shared/rest/rest-extractor.service.ts | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/client/src/app/login/login.component.ts b/client/src/app/login/login.component.ts index f7b49ec45..2514faf94 100644 --- a/client/src/app/login/login.component.ts +++ b/client/src/app/login/login.component.ts | |||
@@ -40,8 +40,7 @@ export class LoginComponent extends FormReactive implements OnInit { | |||
40 | private serverService: ServerService, | 40 | private serverService: ServerService, |
41 | private redirectService: RedirectService, | 41 | private redirectService: RedirectService, |
42 | private notificationsService: NotificationsService, | 42 | private notificationsService: NotificationsService, |
43 | private formBuilder: FormBuilder, | 43 | private formBuilder: FormBuilder) { |
44 | private router: Router) { | ||
45 | super() | 44 | super() |
46 | } | 45 | } |
47 | 46 | ||
diff --git a/client/src/app/shared/rest/rest-extractor.service.ts b/client/src/app/shared/rest/rest-extractor.service.ts index 4cfe28536..db087d407 100644 --- a/client/src/app/shared/rest/rest-extractor.service.ts +++ b/client/src/app/shared/rest/rest-extractor.service.ts | |||
@@ -85,8 +85,6 @@ export class RestExtractor { | |||
85 | errorObj.body = err.error | 85 | errorObj.body = err.error |
86 | } | 86 | } |
87 | 87 | ||
88 | observableThrowError(errorObj) | 88 | return observableThrowError(errorObj) |
89 | |||
90 | return of(undefined) | ||
91 | } | 89 | } |
92 | } | 90 | } |