Skip to content

Commit

Permalink
Fix File/{id} API call
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan committed Dec 30, 2023
1 parent 915a3f4 commit b5d2494
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 @@ -177,7 +177,7 @@ private async Task<HttpResponseMessage> Post<Type>(string url, HttpMethod method

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

public Task<List<File>> GetFileByPath(string path)
Expand Down

0 comments on commit b5d2494

Please sign in to comment.