The Free Software Media System - Server Backend & API
Change API GetLyrics return type
1hitsong8912f618f59c
diff --git a/Jellyfin.Api/Controllers/UserLibraryController.cs b/Jellyfin.Api/Controllers/UserLibraryController.csindex 2cb2e93284..df91a8efc7 100644--- a/Jellyfin.Api/Controllers/UserLibraryController.cs+++ b/Jellyfin.Api/Controllers/UserLibraryController.cs@@ -397,7 +397,7 @@ namespace Jellyfin.Api.Controllers/// <returns>An <see cref="OkResult"/> containing the item's lyrics.</returns>[HttpGet("Users/{userId}/Items/{itemId}/Lyrics")][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);