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

pull/18/head
Daniel Underwood 8 years ago
parent f5ce56567e
commit 1c6443d825

@ -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