mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
fix(api): update Plex Watchlist URL (#1847)
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