mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-15 10:15:54 -07:00
Final corrections after testing
This commit is contained in:
parent
d6b7e51389
commit
a02379f240
2 changed files with 8 additions and 8 deletions
|
|
@ -103,7 +103,7 @@ const getId = async (
|
|||
method: 'get',
|
||||
url: `${arrHost}/api/v3/${arr === 'radarr' ? 'movie' : 'series'}/lookup?term=imdb:${imdbId}`,
|
||||
headers,
|
||||
})).data?.id ?? -1,
|
||||
})).data?.at(0)?.id ?? -1,
|
||||
)
|
||||
: -1;
|
||||
args.jobLog(`${refreshType.content} ${id !== -1 ? `${id} found` : 'not found'} for imdb '${imdbId}'`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue