mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 15:37:55 +02:00
Reverted back to Single<T> instead of SingleOrDefault<T> except when searching for an episode in DB.
This commit is contained in:
@@ -53,7 +53,7 @@ namespace NzbDrone.Core.Providers
|
||||
|
||||
public virtual QualityProfile Get(int profileId)
|
||||
{
|
||||
return _database.SingleOrDefault<QualityProfile>(profileId);
|
||||
return _database.Single<QualityProfile>(profileId);
|
||||
}
|
||||
|
||||
public virtual void SetupDefaultProfiles()
|
||||
|
Reference in New Issue
Block a user