mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
fixed config post issue
This commit is contained in:
parent
d7bae9135c
commit
1620721efe
5 changed files with 6 additions and 2 deletions
|
@ -68,6 +68,9 @@ namespace NzbDrone.Core.Controllers
|
|||
|
||||
private void SetValue(string key, string value)
|
||||
{
|
||||
if (String.IsNullOrEmpty(key)) throw new ArgumentOutOfRangeException("key");
|
||||
if (value== null) throw new ArgumentNullException("key");
|
||||
|
||||
_logger.DebugFormat("Writing Setting to file. Key:'{0}' Value:'{1}'", key, value);
|
||||
|
||||
_sonicRepo.Add(new Config { Key = key, Value = value });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue