Browse Source

implement review suggestions

crobibero 5 years ago
parent
commit
b28dd47a0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jellyfin.Api/Controllers/VideoAttachmentsController.cs

+ 1 - 1
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);
             }
         }
     }