mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Reverted back to Single<T> instead of SingleOrDefault<T> except when searching for an episode in DB.
This commit is contained in:
parent
514998042e
commit
5c055ebb9a
4 changed files with 4 additions and 4 deletions
|
@ -196,7 +196,7 @@ namespace NzbDrone.Core.Providers
|
|||
|
||||
public virtual EpisodeFile GetEpisodeFile(int episodeFileId)
|
||||
{
|
||||
return _database.SingleOrDefault<EpisodeFile>(episodeFileId);
|
||||
return _database.Single<EpisodeFile>(episodeFileId);
|
||||
}
|
||||
|
||||
public virtual List<EpisodeFile> GetEpisodeFiles()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue