mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Settings return with default values (via reflection)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user