mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
fixed config post issue
This commit is contained in:
@@ -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 });
|
||||
|
Reference in New Issue
Block a user