Update Jellyfin.Api/Controllers/UserLibraryController.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
1hitsong 2022-09-09 21:08:38 -04:00 committed by GitHub
parent 5f5347aee3
commit 8b78802c0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -402,11 +402,7 @@ namespace Jellyfin.Api.Controllers
if (user == null)
{
List<Lyrics> lyricsList = new List<Lyrics>
{
new Lyrics { Error = "User Not Found" }
};
return NotFound(new { Results = lyricsList.ToArray() });
return NotFound();
}
var item = itemId.Equals(default)