Get album by the id instead of hardcoded value due to #20 fixing albumId

pull/6/head
Daniel Underwood 7 years ago
parent 8c4d99eeff
commit 4e353382a5
No known key found for this signature in database
GPG Key ID: 7DF3A93330A80FCA

@ -171,7 +171,7 @@ namespace NzbDrone.Core.IndexerSearch
public List<DownloadDecision> AlbumSearch(int albumId, bool missingOnly, bool userInvokedSearch) public List<DownloadDecision> AlbumSearch(int albumId, bool missingOnly, bool userInvokedSearch)
{ {
var album = _albumService.GetAlbum(1); var album = _albumService.GetAlbum(albumId);
return AlbumSearch(album, missingOnly, userInvokedSearch); return AlbumSearch(album, missingOnly, userInvokedSearch);
} }

Loading…
Cancel
Save