mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
fix return type for GetAttachment
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Jellyfin.Api.Controllers
|
|||||||
[Produces(MediaTypeNames.Application.Octet)]
|
[Produces(MediaTypeNames.Application.Octet)]
|
||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
[ProducesResponseType(StatusCodes.Status404NotFound)]
|
[ProducesResponseType(StatusCodes.Status404NotFound)]
|
||||||
public async Task<ActionResult<FileStreamResult>> GetAttachment(
|
public async Task<ActionResult> GetAttachment(
|
||||||
[FromRoute, Required] Guid videoId,
|
[FromRoute, Required] Guid videoId,
|
||||||
[FromRoute, Required] string mediaSourceId,
|
[FromRoute, Required] string mediaSourceId,
|
||||||
[FromRoute, Required] int index)
|
[FromRoute, Required] int index)
|
||||||
|
|||||||
Reference in New Issue
Block a user