mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-23 15:30:56 -04:00
Change API GetLyrics return type
This commit is contained in:
parent
f740d1b9f0
commit
8912f618f5
@ -397,7 +397,7 @@ namespace Jellyfin.Api.Controllers
|
|||||||
/// <returns>An <see cref="OkResult"/> containing the item's lyrics.</returns>
|
/// <returns>An <see cref="OkResult"/> containing the item's lyrics.</returns>
|
||||||
[HttpGet("Users/{userId}/Items/{itemId}/Lyrics")]
|
[HttpGet("Users/{userId}/Items/{itemId}/Lyrics")]
|
||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
public ActionResult<QueryResult<LyricResponse>> GetLyrics([FromRoute, Required] Guid userId, [FromRoute, Required] Guid itemId)
|
public ActionResult<LyricResponse> GetLyrics([FromRoute, Required] Guid userId, [FromRoute, Required] Guid itemId)
|
||||||
{
|
{
|
||||||
var user = _userManager.GetUserById(userId);
|
var user = _userManager.GetUserById(userId);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user