fix(details): 👽 Removed the RT API calls from the frontend for now

#4305
pull/4311/head v4.0.1482
tidusjar 3 years ago
parent 78b9eef483
commit 99c728918e

@ -28,8 +28,8 @@ export class MovieInformationPanelComponent implements OnInit {
if (this.internalBaseUrl.length > 1) {
this.baseUrl = this.internalBaseUrl;
}
this.searchService.getRottenMovieRatings(this.movie.title, +this.movie.releaseDate.toString().substring(0,4))
.subscribe(x => this.ratings = x);
// this.searchService.getRottenMovieRatings(this.movie.title, +this.movie.releaseDate.toString().substring(0,4))
// .subscribe(x => this.ratings = x);
this.searchService.getMovieStreams(this.movie.id).subscribe(x => this.streams = x);
}

@ -31,8 +31,8 @@ export class TvInformationPanelComponent implements OnInit {
if (this.internalBaseUrl.length > 1) {
this.baseUrl = this.internalBaseUrl;
}
this.searchService.getRottenTvRatings(this.tv.title, +this.tv.firstAired.toString().substring(0,4))
.subscribe(x => this.ratings = x);
// this.searchService.getRottenTvRatings(this.tv.title, +this.tv.firstAired.toString().substring(0,4))
// .subscribe(x => this.ratings = x);
this.searchService.getTvStreams(+this.tv.id ).subscribe(x => this.streams = x);
this.tv.seasonRequests.forEach(season => {

Loading…
Cancel
Save