diff options
| author | crobibero <cody@robibe.ro> | 2020-05-19 12:58:09 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-05-19 12:58:09 -0600 |
| commit | b28dd47a0fc5b18111678acede335474f9007b8f (patch) | |
| tree | 7c4d3805e8887942e7145ddc99b0798ff0425a89 | |
| parent | a7a725173da0be952e0a7407f9f42f1ea1123f84 (diff) | |
implement review suggestions
| -rw-r--r-- | Jellyfin.Api/Controllers/VideoAttachmentsController.cs | 2 |
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); } } } |
