Update Jellyfin.Api/Controllers/UserLibraryController.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/8381/head
1hitsong 2 years ago committed by GitHub
parent 92715a7426
commit 0aa2780ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -411,11 +411,7 @@ namespace Jellyfin.Api.Controllers
if (item == null)
{
List<Lyrics> lyricsList = new List<Lyrics>
{
new Lyrics { Error = "Requested Item Not Found" }
};
return NotFound(new { Results = lyricsList.ToArray() });
return NotFound();
}
List<Lyrics> result = ItemHelper.GetLyricData(item);

Loading…
Cancel
Save