mirror of https://github.com/lidarr/Lidarr
Fixed returning empty artist list from db.
This commit is contained in:
parent
78639d1787
commit
50d5693399
|
@ -86,10 +86,7 @@ namespace NzbDrone.Core.Music
|
||||||
|
|
||||||
public List<Artist> GetAllArtists()
|
public List<Artist> GetAllArtists()
|
||||||
{
|
{
|
||||||
_logger.Debug("Count of repository: " + _artistRepository.Count());
|
return _artistRepository.All().ToList();
|
||||||
// TEMP: Return empty list while we debug the DB error
|
|
||||||
return new List<Artist>();
|
|
||||||
//return _artistRepository.All().ToList();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Artist GetArtist(int artistId)
|
public Artist GetArtist(int artistId)
|
||||||
|
|
Loading…
Reference in New Issue