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

This commit is contained in:
Daniel Underwood 2017-07-07 23:28:47 -04:00
parent 8c4d99eeff
commit 4e353382a5
No known key found for this signature in database
GPG Key ID: 7DF3A93330A80FCA
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ namespace NzbDrone.Core.IndexerSearch
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);
}