Skip to content

Commit

Permalink
fix(radarr): return the updated data when updating radarr request (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankarhem committed Jan 27, 2021
1 parent 45a2779 commit 0c6d478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/api/radarr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class RadarrAPI {
label: 'Radarr',
movie: response.data,
});
return movie;
return response.data;
} else {
logger.error('Failed to update existing movie in Radarr', {
label: 'Radarr',
Expand All @@ -187,7 +187,7 @@ class RadarrAPI {

if (movie.id) {
logger.info(
'Movie already is already monitored in Radarr. Skipping add and returning success',
'Movie is already monitored in Radarr. Skipping add and returning success',
{ label: 'Radarr' }
);
return movie;
Expand Down

0 comments on commit 0c6d478

Please sign in to comment.