mirror of https://github.com/lidarr/Lidarr
Get album by the id instead of hardcoded value due to #20 fixing albumId
This commit is contained in:
parent
8c4d99eeff
commit
4e353382a5
|
@ -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…
Reference in New Issue