aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/ItemUpdateController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-29 12:54:47 -0600
committercrobibero <cody@robibe.ro>2020-06-29 12:54:47 -0600
commitda405729799c426a446bf1705262286e780f8f7f (patch)
tree07c4ac3aa885575652d2925647f3a6667caeb272 /Jellyfin.Api/Controllers/ItemUpdateController.cs
parent325808d271a1e53bcf3b15f17b0111c0ce306698 (diff)
parentdbf939467fae7106afc722b31f43bfb950945664 (diff)
Merge remote-tracking branch 'upstream/api-migration' into api-studios
Diffstat (limited to 'Jellyfin.Api/Controllers/ItemUpdateController.cs')
-rw-r--r--Jellyfin.Api/Controllers/ItemUpdateController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/ItemUpdateController.cs b/Jellyfin.Api/Controllers/ItemUpdateController.cs
index 384f250ec..c9b2aafcc 100644
--- a/Jellyfin.Api/Controllers/ItemUpdateController.cs
+++ b/Jellyfin.Api/Controllers/ItemUpdateController.cs
@@ -193,7 +193,7 @@ namespace Jellyfin.Api.Controllers
[HttpPost("/Items/{itemId}/ContentType")]
[ProducesResponseType(StatusCodes.Status204NoContent)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
- public ActionResult UpdateItemContentType([FromRoute] Guid itemId, [FromQuery, BindRequired] string contentType)
+ public ActionResult UpdateItemContentType([FromRoute] Guid itemId, [FromQuery, BindRequired] string? contentType)
{
var item = _libraryManager.GetItemById(itemId);
if (item == null)