diff options
| author | Patrick Barron <18354464+barronpm@users.noreply.github.com> | 2020-06-28 23:59:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-28 23:59:21 +0000 |
| commit | dbf939467fae7106afc722b31f43bfb950945664 (patch) | |
| tree | 3480b4b94fe002cfd7646b76e7f9f717025d72a2 /Jellyfin.Api/Controllers/UserLibraryController.cs | |
| parent | 9b6daec3ad0004e0af17043518f867d77a4b2612 (diff) | |
| parent | 73bcda7eac6d0785745179fe4b7f58b6bc4ec488 (diff) | |
Merge pull request #3466 from crobibero/api-migration-nullable
Make all optional strings nullable
Diffstat (limited to 'Jellyfin.Api/Controllers/UserLibraryController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/UserLibraryController.cs | 6 |
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) |
