mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix(api): update Plex Watchlist URL (#4220)
This commit is contained in:
@@ -291,7 +291,7 @@ class PlexTvAPI extends ExternalAPI {
|
|||||||
headers: {
|
headers: {
|
||||||
'If-None-Match': cachedWatchlist?.etag,
|
'If-None-Match': cachedWatchlist?.etag,
|
||||||
},
|
},
|
||||||
baseURL: 'https://metadata.provider.plex.tv',
|
baseURL: 'https://discover.provider.plex.tv',
|
||||||
validateStatus: (status) => status < 400, // Allow HTTP 304 to return without error
|
validateStatus: (status) => status < 400, // Allow HTTP 304 to return without error
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
@@ -315,7 +315,7 @@ class PlexTvAPI extends ExternalAPI {
|
|||||||
const detailedResponse = await this.getRolling<MetadataResponse>(
|
const detailedResponse = await this.getRolling<MetadataResponse>(
|
||||||
`/library/metadata/${watchlistItem.ratingKey}`,
|
`/library/metadata/${watchlistItem.ratingKey}`,
|
||||||
{
|
{
|
||||||
baseURL: 'https://metadata.provider.plex.tv',
|
baseURL: 'https://discover.provider.plex.tv',
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user