fix: limit next up items

This commit is contained in:
Fredrik Burmester
2024-08-22 13:11:59 +02:00
parent 9b2a0487d2
commit bbf926e752
2 changed files with 2 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ export default function index() {
await getTvShowsApi(api).getNextUp({
userId: user?.Id,
fields: ["MediaSourceCount"],
limit: 20,
})
).data.Items) ||
[],

View File

@@ -24,7 +24,7 @@ export const NextUp: React.FC<{ seriesId: string }> = ({ seriesId }) => {
userId: user?.Id,
seriesId,
fields: ["MediaSourceCount"],
limit: 20,
limit: 10,
})
).data.Items;
},