mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Settings return with default values (via reflection)
This commit is contained in:
parent
3430ad3ee8
commit
62c1be1634
5 changed files with 19 additions and 10 deletions
|
@ -25,7 +25,7 @@ namespace NzbDrone.Api.Settings
|
|||
if(collection.HasValue && Boolean.Parse(collection.Value))
|
||||
return _configService.All().AsResponse();
|
||||
|
||||
return _configService.All().ToDictionary(c => c.Key, c => c.Value).AsResponse();
|
||||
return _configService.AllWithDefaults().AsResponse();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue