Skip to content

Commit

Permalink
Fix API call for Series/{seriesId}/File
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan committed Dec 20, 2023
1 parent add53a7 commit 80287a6
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 @@ -187,7 +187,7 @@ public Task<List<File>> GetFileByPath(string path)

public Task<List<File>> GetFilesForSeries(string seriesId)
{
return Get<List<File>>($"/api/v3/Series/{seriesId}/File?includeXRefs=true&includeDataFrom=AniDB");
return Get<List<File>>($"/api/v3/Series/{seriesId}/File?include=XRefs&includeDataFrom=AniDB");
}

public async Task<File.UserStats?> GetFileUserStats(string fileId, string? apiKey = null)
Expand Down

0 comments on commit 80287a6

Please sign in to comment.