Skip to content

Commit

Permalink
fix: add missing query parameter in series file endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Aug 19, 2024
1 parent fb5fe4c commit 6886e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shokofin/API/ShokoAPIClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public Task<List<File>> GetFileByPath(string path)
public async Task<IReadOnlyList<File>> GetFilesForSeries(string seriesId)
{
if (UseOlderSeriesAndFileEndpoints)
return await Get<List<File>>($"/api/v3/Series/{seriesId}/File?&includeXRefs=true&includeDataFrom=AniDB").ConfigureAwait(false);
return await Get<List<File>>($"/api/v3/Series/{seriesId}/File?pageSize=0&includeXRefs=true&includeDataFrom=AniDB").ConfigureAwait(false);

var listResult = await Get<ListResult<File>>($"/api/v3/Series/{seriesId}/File?pageSize=0&include=XRefs&includeDataFrom=AniDB").ConfigureAwait(false);
return listResult.List;
Expand Down

0 comments on commit 6886e79

Please sign in to comment.