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 serverService: ServerService,
|
||||||
private redirectService: RedirectService,
|
private redirectService: RedirectService,
|
||||||
private notificationsService: NotificationsService,
|
private notificationsService: NotificationsService,
|
||||||
private formBuilder: FormBuilder,
|
private formBuilder: FormBuilder) {
|
||||||
private router: Router) {
|
|
||||||
super()
|
super()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -85,8 +85,6 @@ export class RestExtractor {
|
||||||
errorObj.body = err.error
|
errorObj.body = err.error
|
||||||
}
|
}
|
||||||
|
|
||||||
observableThrowError(errorObj)
|
return observableThrowError(errorObj)
|
||||||
|
|
||||||
return of(undefined)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue