Fixed interface definition

This commit is contained in:
JPVenson
2024-10-30 10:25:57 +00:00
parent aa4dd04b99
commit 0130580151
3 changed files with 20 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ public class MediaSegmentsController : BaseJellyfinApiController
return NotFound();
}
var items = await _mediaSegmentManager.GetSegmentsAsync(item.Id, includeSegmentTypes).ConfigureAwait(false);
var items = await _mediaSegmentManager.GetSegmentsAsync(item, includeSegmentTypes).ConfigureAwait(false);
return Ok(new QueryResult<MediaSegmentDto>(items.ToArray()));
}
}