aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/YearsController.cs
diff options
context:
space:
mode:
authorPatrick Barron <18354464+barronpm@users.noreply.github.com>2020-06-28 23:59:21 +0000
committerGitHub <noreply@github.com>2020-06-28 23:59:21 +0000
commitdbf939467fae7106afc722b31f43bfb950945664 (patch)
tree3480b4b94fe002cfd7646b76e7f9f717025d72a2 /Jellyfin.Api/Controllers/YearsController.cs
parent9b6daec3ad0004e0af17043518f867d77a4b2612 (diff)
parent73bcda7eac6d0785745179fe4b7f58b6bc4ec488 (diff)
Merge pull request #3466 from crobibero/api-migration-nullable
Make all optional strings nullable
Diffstat (limited to 'Jellyfin.Api/Controllers/YearsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/YearsController.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/Jellyfin.Api/Controllers/YearsController.cs b/Jellyfin.Api/Controllers/YearsController.cs
index a036c818c..a66a3951e 100644
--- a/Jellyfin.Api/Controllers/YearsController.cs
+++ b/Jellyfin.Api/Controllers/YearsController.cs
@@ -64,16 +64,16 @@ namespace Jellyfin.Api.Controllers
public ActionResult<QueryResult<BaseItemDto>> GetYears(
[FromQuery] int? startIndex,
[FromQuery] int? limit,
- [FromQuery] string sortOrder,
- [FromQuery] string parentId,
- [FromQuery] string fields,
- [FromQuery] string excludeItemTypes,
- [FromQuery] string includeItemTypes,
- [FromQuery] string mediaTypes,
- [FromQuery] string sortBy,
+ [FromQuery] string? sortOrder,
+ [FromQuery] string? parentId,
+ [FromQuery] string? fields,
+ [FromQuery] string? excludeItemTypes,
+ [FromQuery] string? includeItemTypes,
+ [FromQuery] string? mediaTypes,
+ [FromQuery] string? sortBy,
[FromQuery] bool? enableUserData,
[FromQuery] int? imageTypeLimit,
- [FromQuery] string enableImageTypes,
+ [FromQuery] string? enableImageTypes,
[FromQuery] Guid userId,
[FromQuery] bool recursive = true,
[FromQuery] bool? enableImages = true)