소스 검색

implement review suggestions

crobibero 5 년 전
부모
커밋
b28dd47a0f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
             }
         }
     }