Serie lookup url corrected

This commit is contained in:
jeanchristophe.mqt@gmail.com 2024-03-29 09:27:58 +01:00
parent 3511cc2276
commit 694ae59f22
2 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,7 @@ const getId = async (
? Number(
(await args.deps.axios({
method: 'get',
url: `${arrHost}/api/v3/${arr === 'radarr' ? 'movie' : 'serie'}/lookup?term=imdb:${imdbId}`,
url: `${arrHost}/api/v3/${arr === 'radarr' ? 'movie' : 'series'}/lookup?term=imdb:${imdbId}`,
headers,
})).data?.id ?? -1,
)