Fixed: Saving settings changes

This commit is contained in:
Mark McDowall 2015-11-26 12:05:37 -08:00
parent c2b9504b15
commit c8a0f9fa7a
3 changed files with 20 additions and 8 deletions

View file

@ -376,7 +376,7 @@ namespace NzbDrone.Core.Configuration
key = key.ToLowerInvariant();
_logger.Trace("Writing Setting to database. Key:'{0}' Value:'{1}'", key, value);
_repository.Upsert(new Config {Key = key, Value = value});
_repository.Upsert(key, value);
ClearCache();
}