Skip to content

Commit

Permalink
Fix error looking up qualities
Browse files Browse the repository at this point in the history
  • Loading branch information
josephschmitt committed Jun 25, 2017
1 parent 90cc027 commit 822dda8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/radarr.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ function mapToMediaResult(movie) {
year: movie.year,
tvdbid: movie.tvdbId,
status: movie.status,
quality: quality.name
quality: quality ? quality.name : ''
};
}
2 changes: 1 addition & 1 deletion src/api/sonarr.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ function mapToMediaResult(show) {
year: show.year,
tvdbid: show.tvdbId,
status: show.status,
quality: quality.name
quality: quality ? quality.name : ''
};
}

0 comments on commit 822dda8

Please sign in to comment.