Skip to content

Commit

Permalink
fix: correctly load series fallback modal with sonarr v4 (#3451)
Browse files Browse the repository at this point in the history
  • Loading branch information
OwsleyJr authored May 11, 2023
1 parent c27f960 commit e051b1d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/routes/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e051b1d

Please sign in to comment.