aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/UserLibraryController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Controllers/UserLibraryController.cs')
-rw-r--r--Jellyfin.Api/Controllers/UserLibraryController.cs12
1 files changed, 2 insertions, 10 deletions
diff --git a/Jellyfin.Api/Controllers/UserLibraryController.cs b/Jellyfin.Api/Controllers/UserLibraryController.cs
index afd4013ed..ed8a98d23 100644
--- a/Jellyfin.Api/Controllers/UserLibraryController.cs
+++ b/Jellyfin.Api/Controllers/UserLibraryController.cs
@@ -401,11 +401,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)
@@ -414,11 +410,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();
}
var result = ItemHelper.GetLyricData(item);