fix(network-settings): convert DNS cache TTL values to numbers (#2299)

This PR ensures DNS cache TTL values are properly converted to numbers before being sent to the
backend.

fix #2294
This commit is contained in:
fallenbagel
2026-01-17 17:46:05 +05:00
committed by GitHub
parent 48631db989
commit c9037f77e6
2 changed files with 23 additions and 5 deletions

View File

@@ -1022,6 +1022,8 @@
"components.Settings.SettingsNetwork.toastSettingsSuccess": "Settings saved successfully!",
"components.Settings.SettingsNetwork.trustProxy": "Enable Proxy Support",
"components.Settings.SettingsNetwork.trustProxyTip": "Allow Seerr to correctly register client IP addresses behind a proxy",
"components.Settings.SettingsNetwork.validationDnsCacheMaxTtl": "You must provide a valid maximum TTL",
"components.Settings.SettingsNetwork.validationDnsCacheMinTtl": "You must provide a valid minimum TTL",
"components.Settings.SettingsNetwork.validationProxyPort": "You must provide a valid port",
"components.Settings.SettingsUsers.atLeastOneAuth": "At least one authentication method must be selected.",
"components.Settings.SettingsUsers.defaultPermissions": "Default Permissions",