aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/VideoAttachmentsController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-05-19 12:58:09 -0600
committercrobibero <cody@robibe.ro>2020-05-19 12:58:09 -0600
commitb28dd47a0fc5b18111678acede335474f9007b8f (patch)
tree7c4d3805e8887942e7145ddc99b0798ff0425a89 /Jellyfin.Api/Controllers/VideoAttachmentsController.cs
parenta7a725173da0be952e0a7407f9f42f1ea1123f84 (diff)
implement review suggestions
Diffstat (limited to 'Jellyfin.Api/Controllers/VideoAttachmentsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/VideoAttachmentsController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/VideoAttachmentsController.cs b/Jellyfin.Api/Controllers/VideoAttachmentsController.cs
index 69e847373..a10dd4059 100644
--- a/Jellyfin.Api/Controllers/VideoAttachmentsController.cs
+++ b/Jellyfin.Api/Controllers/VideoAttachmentsController.cs
@@ -78,7 +78,7 @@ namespace Jellyfin.Api.Controllers
}
catch (ResourceNotFoundException e)
{
- return StatusCode(StatusCodes.Status404NotFound, e.Message);
+ return NotFound(e.Message);
}
}
}