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 5f5347aee3
commit 8b78802c0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save