fix(frontend): convert plex port to a number before posting to the api

pull/240/head
sct 4 years ago
parent 2098a2d3d2
commit 8cb05c413a

@ -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();

Loading…
Cancel
Save