Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/overseerr/commit/f998873fc5669a547901f2733c9c785d744d27ca
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
10 additions and
12 deletions
@ -76,11 +76,9 @@ class RadarrAPI {
}
} ;
public addMovie = async (
options : RadarrMovieOptions
) : Promise < RadarrMovie > = > {
public addMovie = async ( options : RadarrMovieOptions ) : Promise < void > = > {
try {
const response = await this . axios . post < RadarrMovie > ( ` /movie ` , {
await this . axios . post < RadarrMovie > ( ` /movie ` , {
title : options.title ,
qualityProfileId : options.qualityProfileId ,
profileId : options.profileId ,
@ -94,15 +92,15 @@ class RadarrAPI {
searchForMovie : options.searchNow ,
} ,
} ) ;
return response . data ;
} catch ( e ) {
logger . error ( 'Something went wrong adding a movie to Radarr' , {
label : 'Radarr' ,
message : e.message ,
options ,
} ) ;
throw new Error ( ` [Radarr] Failed to add movie: ${ e . message } ` ) ;
logger . error (
'Failed to add movie to Radarr. This might happen if the movie already exists, in which case you can safely ignore this error.' ,
{
label : 'Radarr' ,
errorMessage : e.message ,
options ,
}
) ;
}
} ;