Przeglądaj źródła

implement review suggestions

crobibero 5 lat temu
rodzic
commit
b28dd47a0f

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