diff options
| author | cvium <clausvium@gmail.com> | 2021-11-24 13:42:14 +0100 |
|---|---|---|
| committer | cvium <clausvium@gmail.com> | 2021-11-24 13:42:14 +0100 |
| commit | 0485ff189948e4c0b6532e835b9f6740e89d0d40 (patch) | |
| tree | 870f1b925394d78047262966fcb20dcb4ab64c69 /Jellyfin.Api | |
| parent | 69df004b9f62cb65986607d659fde0dcc74004ab (diff) | |
Create a store key constant for network
Diffstat (limited to 'Jellyfin.Api')
| -rw-r--r-- | Jellyfin.Api/Controllers/StartupController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/StartupController.cs b/Jellyfin.Api/Controllers/StartupController.cs index a01a617fc..c49bde93f 100644 --- a/Jellyfin.Api/Controllers/StartupController.cs +++ b/Jellyfin.Api/Controllers/StartupController.cs @@ -93,7 +93,7 @@ namespace Jellyfin.Api.Controllers NetworkConfiguration settings = _config.GetNetworkConfiguration(); settings.EnableRemoteAccess = startupRemoteAccessDto.EnableRemoteAccess; settings.EnableUPnP = startupRemoteAccessDto.EnableAutomaticPortMapping; - _config.SaveConfiguration("network", settings); + _config.SaveConfiguration(NetworkConfigurationStore.StoreKey, settings); return NoContent(); } |
