diff options
| author | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-09 21:15:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-09 21:15:57 -0400 |
| commit | 0aa2780ea7b23aed31765550f707f7ea9fc0daf1 (patch) | |
| tree | 7c60cc0c2250560a7c63364f0567c39272801846 | |
| parent | 92715a74262fbf52f7071b45f5b61b7f057bb28e (diff) | |
Update Jellyfin.Api/Controllers/UserLibraryController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
| -rw-r--r-- | Jellyfin.Api/Controllers/UserLibraryController.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Jellyfin.Api/Controllers/UserLibraryController.cs b/Jellyfin.Api/Controllers/UserLibraryController.cs index a1b911a45..7830df9bc 100644 --- a/Jellyfin.Api/Controllers/UserLibraryController.cs +++ b/Jellyfin.Api/Controllers/UserLibraryController.cs @@ -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); |
