diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2020-11-14 17:28:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-14 17:28:43 +0100 |
| commit | 121d79a395df8a79e6441086ae81a97b975f3d90 (patch) | |
| tree | 8bca6cfac2d1cbb369eeaf7b9dfb012e81bd2090 /Jellyfin.Api/Controllers/VideoAttachmentsController.cs | |
| parent | c49b8542959cf97c2d7aae7429f1e942d11a55b1 (diff) | |
| parent | e36725096afd0287c6aa8b19e6612649836f3e1e (diff) | |
Merge pull request #4477 from nyanmisaka/attachment-return-type
Fix return type for GetAttachment
Diffstat (limited to 'Jellyfin.Api/Controllers/VideoAttachmentsController.cs')
| -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 09a1c93e6..418c0c123 100644 --- a/Jellyfin.Api/Controllers/VideoAttachmentsController.cs +++ b/Jellyfin.Api/Controllers/VideoAttachmentsController.cs @@ -46,7 +46,7 @@ namespace Jellyfin.Api.Controllers [Produces(MediaTypeNames.Application.Octet)] [ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status404NotFound)] - public async Task<ActionResult<FileStreamResult>> GetAttachment( + public async Task<ActionResult> GetAttachment( [FromRoute, Required] Guid videoId, [FromRoute, Required] string mediaSourceId, [FromRoute, Required] int index) |
