Explorar el Código

implement review suggestions

crobibero hace 5 años
padre
commit
b28dd47a0f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)
             catch (ResourceNotFoundException e)
             {
             {
-                return StatusCode(StatusCodes.Status404NotFound, e.Message);
+                return NotFound(e.Message);
             }
             }
         }
         }
     }
     }