fix: correctly load series fallback modal with sonarr v4 (#3451)

pull/3407/head
Brandon Cohen 2 years ago committed by GitHub
parent c27f96096a
commit e051b1dfea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -183,9 +183,7 @@ serviceRoutes.get<{ tmdbId: string }>(
const sonarr = new SonarrAPI({
apiKey: sonarrSettings.apiKey,
url: `${sonarrSettings.useSsl ? 'https' : 'http'}://${
sonarrSettings.hostname
}:${sonarrSettings.port}${sonarrSettings.baseUrl ?? ''}/api`,
url: SonarrAPI.buildUrl(sonarrSettings, '/api/v3'),
});
try {

Loading…
Cancel
Save