Update Jellyfin.Api/Controllers/UserLibraryController.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
1hitsong 2022-09-09 21:15:57 -04:00 committed by GitHub
parent 92715a7426
commit 0aa2780ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);