mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-27 22:56:45 -04:00
added Marr.Data.Mapping
This commit is contained in:
@@ -12,7 +12,7 @@ namespace NzbDrone.Core.Configuration
|
||||
|
||||
public class ConfigRepository : BasicRepository<Config>, IConfigRepository
|
||||
{
|
||||
public ConfigRepository(IDbConnection database)
|
||||
public ConfigRepository(IDatabase database)
|
||||
: base(database)
|
||||
{
|
||||
}
|
||||
@@ -20,7 +20,7 @@ namespace NzbDrone.Core.Configuration
|
||||
|
||||
public Config Get(string key)
|
||||
{
|
||||
return SingleOrDefault(c => c.Key == key);
|
||||
return Queryable().SingleOrDefault(c => c.Key == key);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user