fix(frontend): also convert ports to numbers when saving radarr/sonarr servers

pull/238/head
sct 4 years ago
parent b96bd33982
commit c53dc3b15d

@ -185,7 +185,7 @@ const RadarrModal: React.FC<RadarrModalProps> = ({
const submission = {
name: values.name,
hostname: values.hostname,
port: values.port,
port: Number(values.port),
apiKey: values.apiKey,
useSsl: values.ssl,
baseUrl: values.baseUrl,

@ -188,7 +188,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
const submission = {
name: values.name,
hostname: values.hostname,
port: values.port,
port: Number(values.port),
apiKey: values.apiKey,
useSsl: values.ssl,
baseUrl: values.baseUrl,

Loading…
Cancel
Save