diff options
| author | crobibero <cody@robibe.ro> | 2021-03-04 18:25:52 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2021-03-04 18:25:52 -0700 |
| commit | 858c91ab485f79648aa625e89378c6de9e19df4b (patch) | |
| tree | bbc436e5acbc75f5d87befbd391a547251b5f510 /Jellyfin.Api/Controllers/LibraryController.cs | |
| parent | 8615847a8aba1f504b184e79907e6885215ffdaa (diff) | |
Specify defaults or set query parameter to nullable
Diffstat (limited to 'Jellyfin.Api/Controllers/LibraryController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/LibraryController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.cs index db4aa9668..3443ebd72 100644 --- a/Jellyfin.Api/Controllers/LibraryController.cs +++ b/Jellyfin.Api/Controllers/LibraryController.cs @@ -777,7 +777,7 @@ namespace Jellyfin.Api.Controllers [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult<LibraryOptionsResultDto> GetLibraryOptionsInfo( [FromQuery] string? libraryContentType, - [FromQuery] bool isNewLibrary) + [FromQuery] bool isNewLibrary = false) { var result = new LibraryOptionsResultDto(); |
