aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/UserLibraryController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-27 10:50:44 -0600
committercrobibero <cody@robibe.ro>2020-06-27 10:50:44 -0600
commit73bcda7eac6d0785745179fe4b7f58b6bc4ec488 (patch)
treed1d6841d78432b95f1e2342e5632d5feb75ae1ee /Jellyfin.Api/Controllers/UserLibraryController.cs
parent90c01327aa3ea52a2b9a47f00ede9d887399e3d9 (diff)
Make all optional strings nullable
Diffstat (limited to 'Jellyfin.Api/Controllers/UserLibraryController.cs')
-rw-r--r--Jellyfin.Api/Controllers/UserLibraryController.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Jellyfin.Api/Controllers/UserLibraryController.cs b/Jellyfin.Api/Controllers/UserLibraryController.cs
index 597e70469..ca804ebc9 100644
--- a/Jellyfin.Api/Controllers/UserLibraryController.cs
+++ b/Jellyfin.Api/Controllers/UserLibraryController.cs
@@ -265,12 +265,12 @@ namespace Jellyfin.Api.Controllers
public ActionResult<IEnumerable<BaseItemDto>> GetLatestMedia(
[FromRoute] Guid userId,
[FromQuery] Guid parentId,
- [FromQuery] string fields,
- [FromQuery] string includeItemTypes,
+ [FromQuery] string? fields,
+ [FromQuery] string? includeItemTypes,
[FromQuery] bool? isPlayed,
[FromQuery] bool? enableImages,
[FromQuery] int? imageTypeLimit,
- [FromQuery] string enableImageTypes,
+ [FromQuery] string? enableImageTypes,
[FromQuery] bool? enableUserData,
[FromQuery] int limit = 20,
[FromQuery] bool groupItems = true)