Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/6e7e1e466080c56886d8535a237e8086abd4ad4c
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
11 additions and
3 deletions
@ -1,4 +1,4 @@
import { I SeasonRequests } from "./IRequestModel" ;
import { I New SeasonRequests } from "./IRequestModel" ;
export interface ISearchTvResult {
id : number ;
@ -21,7 +21,7 @@ export interface ISearchTvResult {
siteRating : number ;
trailer : string ;
homepage : string ;
season s Requests: I SeasonRequests[ ] ;
season Requests: I New SeasonRequests[ ] ;
requestAll : boolean ;
approved : boolean ;
requested : boolean ;
@ -42,12 +42,20 @@ export class SeriesInformationComponent implements OnInit, OnDestroy {
this . requestService . requestTv ( this . series )
. takeUntil ( this . subscriptions )
. subscribe ( x = > {
debugger ;
this . result = x as IRequestEngineResult ;
if ( this . result . requestAdded ) {
this . notificationService . success ( "Request Added" ,
` Request for ${ this . series . title } has been added successfully ` ) ;
this . series . seasonRequests . forEach ( ( season ) = > {
season . episodes . forEach ( ( ep ) = > {
ep . selected = false ;
} ) ;
} ) ;
} else {
this . notificationService . warning ( "Request Added" , this . result . message ) ;
this . notificationService . warning ( "Request Added" , this . result . errorMessage ? this . result.errorMessage : this.result. message) ;
}
} ) ;
}