aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/LibraryController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-03-05 11:04:47 +0100
committerGitHub <noreply@github.com>2021-03-05 11:04:47 +0100
commita0f6bc14a2c9817b3199a81872eb7d84489cde0d (patch)
tree0eb5fcf1d482e0f1451ae2e21bb12bc4dcde3a2a /Jellyfin.Api/Controllers/LibraryController.cs
parented7154db68f089cb8366aedaaeb93f1d5405251a (diff)
parent858c91ab485f79648aa625e89378c6de9e19df4b (diff)
Merge pull request #5375 from crobibero/default-api-value
Specify defaults or set query parameter to nullable
Diffstat (limited to 'Jellyfin.Api/Controllers/LibraryController.cs')
-rw-r--r--Jellyfin.Api/Controllers/LibraryController.cs2
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();