fix(frontend): also convert activeProfileId to a number for radarr/sonarr submissions

pull/238/head
sct 4 years ago
parent c53dc3b15d
commit 7bf924f7e9

@ -189,7 +189,7 @@ const RadarrModal: React.FC<RadarrModalProps> = ({
apiKey: values.apiKey,
useSsl: values.ssl,
baseUrl: values.baseUrl,
activeProfileId: values.activeProfileId,
activeProfileId: Number(values.activeProfileId),
activeProfileName: profileName,
activeDirectory: values.rootFolder,
is4k: values.is4k,

@ -192,7 +192,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
apiKey: values.apiKey,
useSsl: values.ssl,
baseUrl: values.baseUrl,
activeProfileId: values.activeProfileId,
activeProfileId: Number(values.activeProfileId),
activeProfileName: profileName,
activeDirectory: values.rootFolder,
is4k: values.is4k,

Loading…
Cancel
Save