aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/TvShowsController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-29 12:54:47 -0600
committercrobibero <cody@robibe.ro>2020-06-29 12:54:47 -0600
commitda405729799c426a446bf1705262286e780f8f7f (patch)
tree07c4ac3aa885575652d2925647f3a6667caeb272 /Jellyfin.Api/Controllers/TvShowsController.cs
parent325808d271a1e53bcf3b15f17b0111c0ce306698 (diff)
parentdbf939467fae7106afc722b31f43bfb950945664 (diff)
Merge remote-tracking branch 'upstream/api-migration' into api-studios
Diffstat (limited to 'Jellyfin.Api/Controllers/TvShowsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/TvShowsController.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Jellyfin.Api/Controllers/TvShowsController.cs b/Jellyfin.Api/Controllers/TvShowsController.cs
index 6738dd8c8..80b6a2488 100644
--- a/Jellyfin.Api/Controllers/TvShowsController.cs
+++ b/Jellyfin.Api/Controllers/TvShowsController.cs
@@ -190,7 +190,7 @@ namespace Jellyfin.Api.Controllers
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
public ActionResult<QueryResult<BaseItemDto>> GetEpisodes(
- [FromRoute] string seriesId,
+ [FromRoute] string? seriesId,
[FromQuery] Guid userId,
[FromQuery] string? fields,
[FromQuery] int? season,
@@ -311,12 +311,12 @@ namespace Jellyfin.Api.Controllers
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
public ActionResult<QueryResult<BaseItemDto>> GetSeasons(
- [FromRoute] string seriesId,
+ [FromRoute] string? seriesId,
[FromQuery] Guid userId,
- [FromQuery] string fields,
+ [FromQuery] string? fields,
[FromQuery] bool? isSpecialSeason,
[FromQuery] bool? isMissing,
- [FromQuery] string adjacentTo,
+ [FromQuery] string? adjacentTo,
[FromQuery] bool? enableImages,
[FromQuery] int? imageTypeLimit,
[FromQuery] string? enableImageTypes,