mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix: correctly load series fallback modal with sonarr v4 (#3451)
This commit is contained in:
@@ -183,9 +183,7 @@ serviceRoutes.get<{ tmdbId: string }>(
|
|||||||
|
|
||||||
const sonarr = new SonarrAPI({
|
const sonarr = new SonarrAPI({
|
||||||
apiKey: sonarrSettings.apiKey,
|
apiKey: sonarrSettings.apiKey,
|
||||||
url: `${sonarrSettings.useSsl ? 'https' : 'http'}://${
|
url: SonarrAPI.buildUrl(sonarrSettings, '/api/v3'),
|
||||||
sonarrSettings.hostname
|
|
||||||
}:${sonarrSettings.port}${sonarrSettings.baseUrl ?? ''}/api`,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user