Skip to content

Commit

Permalink
Fix Series/id/File Route
Browse files Browse the repository at this point in the history
  • Loading branch information
da3dsoul committed Dec 18, 2023
1 parent 4b87246 commit fd9c729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/API/v3/Controllers/TreeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ public ActionResult<Series> GetMainSeriesInGroup([FromRoute] int groupID, [FromQ
/// <param name="sortOrder">Sort ordering. Attach '-' at the start to reverse the order of the criteria.</param>
/// <param name="includeDataFrom">Include data from selected <see cref="DataSource"/>s.</param>
/// <returns></returns>
[HttpGet("{seriesID}/File")]
[HttpGet("Series/{seriesID}/File")]
public ActionResult<ListResult<File>> GetFilesForSeries([FromRoute] int seriesID,
[FromQuery, Range(0, 1000)] int pageSize = 100,
[FromQuery, Range(1, int.MaxValue)] int page = 1,
Expand Down

0 comments on commit fd9c729

Please sign in to comment.