mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix(frontend): convert plex port to a number before posting to the api
This commit is contained in:
@@ -78,7 +78,7 @@ const SettingsPlex: React.FC<SettingsPlexProps> = ({ onComplete }) => {
|
||||
try {
|
||||
await axios.post('/api/v1/settings/plex', {
|
||||
ip: values.hostname,
|
||||
port: values.port,
|
||||
port: Number(values.port),
|
||||
} as PlexSettings);
|
||||
|
||||
revalidate();
|
||||
|
Reference in New Issue
Block a user