Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix rxjs throw

Chocobozzz133592034881
diff --git a/client/src/app/login/login.component.ts b/client/src/app/login/login.component.ts
index f7b49ec459..2514faf94f 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 {
private serverService: ServerService,
private redirectService: RedirectService,
private notificationsService: NotificationsService,
- private formBuilder: FormBuilder,
- private router: Router) {
+ private formBuilder: FormBuilder) {
super()
}
diff --git a/client/src/app/shared/rest/rest-extractor.service.ts b/client/src/app/shared/rest/rest-extractor.service.ts
index 4cfe28536d..db087d407c 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 {
errorObj.body = err.error
}
- observableThrowError(errorObj)
-
- return of(undefined)
+ return observableThrowError(errorObj)
}
}