mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-08 23:00:51 +02:00
Update Jellyfin.Api/Controllers/UserLibraryController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
5f5347aee3
commit
8b78802c0b
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue