mirror of
https://github.com/sct/overseerr.git
synced 2025-09-27 12:39:46 +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 {
|
try {
|
||||||
await axios.post('/api/v1/settings/plex', {
|
await axios.post('/api/v1/settings/plex', {
|
||||||
ip: values.hostname,
|
ip: values.hostname,
|
||||||
port: values.port,
|
port: Number(values.port),
|
||||||
} as PlexSettings);
|
} as PlexSettings);
|
||||||
|
|
||||||
revalidate();
|
revalidate();
|
||||||
|
Reference in New Issue
Block a user