From 8cb05c413a15a4b74e37ece5e24367d115995b32 Mon Sep 17 00:00:00 2001 From: sct Date: Mon, 14 Dec 2020 09:13:59 +0000 Subject: [PATCH] fix(frontend): convert plex port to a number before posting to the api --- src/components/Settings/SettingsPlex.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Settings/SettingsPlex.tsx b/src/components/Settings/SettingsPlex.tsx index 87d1fe39a..d9d97c5d8 100644 --- a/src/components/Settings/SettingsPlex.tsx +++ b/src/components/Settings/SettingsPlex.tsx @@ -78,7 +78,7 @@ const SettingsPlex: React.FC = ({ onComplete }) => { try { await axios.post('/api/v1/settings/plex', { ip: values.hostname, - port: values.port, + port: Number(values.port), } as PlexSettings); revalidate();