mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix(plex): add container-size header to recently added api call (#3023)
This commit is contained in:
@@ -232,6 +232,10 @@ class PlexAPI {
|
|||||||
uri: `/library/sections/${id}/all?sort=addedAt%3Adesc&addedAt>>=${Math.floor(
|
uri: `/library/sections/${id}/all?sort=addedAt%3Adesc&addedAt>>=${Math.floor(
|
||||||
options.addedAt / 1000
|
options.addedAt / 1000
|
||||||
)}`,
|
)}`,
|
||||||
|
extraHeaders: {
|
||||||
|
'X-Plex-Container-Start': `0`,
|
||||||
|
'X-Plex-Container-Size': `500`,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
return response.MediaContainer.Metadata;
|
return response.MediaContainer.Metadata;
|
||||||
|
Reference in New Issue
Block a user