fix(sonarr): Use v3 API endpoint for mediacovers

This commit is contained in:
Qstick
2021-12-19 16:31:13 -06:00
committed by Jagandeep Brar
parent b4945c0f69
commit 6d85dd63f1

View File

@@ -266,8 +266,8 @@ class SonarrState extends LunaModuleState {
String _baseImageURL() {
return _host.endsWith('/')
? '${_host}api/MediaCover'
: '$_host/api/MediaCover';
? '${_host}api/v3/MediaCover'
: '$_host/api/v3/MediaCover';
}
String getBannerURL(int seriesId, {bool highRes = false}) {