Skip to content

Commit

Permalink
fix(frontend): convert plex port to a number before posting to the api
Browse files Browse the repository at this point in the history
  • Loading branch information
sct committed Dec 14, 2020
1 parent 2098a2d commit 8cb05c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Settings/SettingsPlex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8cb05c4

Please sign in to comment.