diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-03-05 11:04:47 +0100 |
|---|---|---|
| committer | Joshua M. Boniface <joshua@boniface.me> | 2021-03-06 14:27:58 -0500 |
| commit | e4bf57c739f13df2c7a2b2ee8da532810b64c8d2 (patch) | |
| tree | a9acf04e221018674a11081dd638a49b7ebf209b /Jellyfin.Api/Controllers/LibraryController.cs | |
| parent | 046dd7fa60f2c539e94baf8150a2bdfb67d42e7b (diff) | |
Merge pull request #5375 from crobibero/default-api-value
Specify defaults or set query parameter to nullable
(cherry picked from commit a0f6bc14a2c9817b3199a81872eb7d84489cde0d)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
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 28d359ac3..415dc0ed7 100644 --- a/Jellyfin.Api/Controllers/LibraryController.cs +++ b/Jellyfin.Api/Controllers/LibraryController.cs @@ -778,7 +778,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(); |
