mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 13:01:28 +02: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