mirror of https://github.com/Chocobozzz/PeerTube
Fix rxjs throw
parent
a700f1837e
commit
1335920348
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
@ -85,8 +85,6 @@ export class RestExtractor {
|
|||
errorObj.body = err.error
|
||||
}
|
||||
|
||||
observableThrowError(errorObj)
|
||||
|
||||
return of(undefined)
|
||||
return observableThrowError(errorObj)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue