Corrected lookup endpoint param name

This commit is contained in:
jeanchristophe.mqt@gmail.com 2024-03-29 00:20:29 +01:00
parent e5638dda65
commit 1bc893b7b9
2 changed files with 2 additions and 2 deletions

View file

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