mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
fix(details): 👽 Removed the RT API calls from the frontend for now
#4305
This commit is contained in:
parent
78b9eef483
commit
99c728918e
2 changed files with 4 additions and 4 deletions
|
@ -28,8 +28,8 @@ export class MovieInformationPanelComponent implements OnInit {
|
||||||
if (this.internalBaseUrl.length > 1) {
|
if (this.internalBaseUrl.length > 1) {
|
||||||
this.baseUrl = this.internalBaseUrl;
|
this.baseUrl = this.internalBaseUrl;
|
||||||
}
|
}
|
||||||
this.searchService.getRottenMovieRatings(this.movie.title, +this.movie.releaseDate.toString().substring(0,4))
|
// this.searchService.getRottenMovieRatings(this.movie.title, +this.movie.releaseDate.toString().substring(0,4))
|
||||||
.subscribe(x => this.ratings = x);
|
// .subscribe(x => this.ratings = x);
|
||||||
|
|
||||||
this.searchService.getMovieStreams(this.movie.id).subscribe(x => this.streams = 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) {
|
if (this.internalBaseUrl.length > 1) {
|
||||||
this.baseUrl = this.internalBaseUrl;
|
this.baseUrl = this.internalBaseUrl;
|
||||||
}
|
}
|
||||||
this.searchService.getRottenTvRatings(this.tv.title, +this.tv.firstAired.toString().substring(0,4))
|
// this.searchService.getRottenTvRatings(this.tv.title, +this.tv.firstAired.toString().substring(0,4))
|
||||||
.subscribe(x => this.ratings = x);
|
// .subscribe(x => this.ratings = x);
|
||||||
|
|
||||||
this.searchService.getTvStreams(+this.tv.id ).subscribe(x => this.streams = x);
|
this.searchService.getTvStreams(+this.tv.id ).subscribe(x => this.streams = x);
|
||||||
this.tv.seasonRequests.forEach(season => {
|
this.tv.seasonRequests.forEach(season => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue