aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserLibrary/GenresService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/GenresService.cs')
-rw-r--r--MediaBrowser.Api/UserLibrary/GenresService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserLibrary/GenresService.cs b/MediaBrowser.Api/UserLibrary/GenresService.cs
index 43dcf2a31..1962dff5c 100644
--- a/MediaBrowser.Api/UserLibrary/GenresService.cs
+++ b/MediaBrowser.Api/UserLibrary/GenresService.cs
@@ -11,7 +11,7 @@ namespace MediaBrowser.Api.UserLibrary
/// <summary>
/// Class GetGenres
/// </summary>
- [Route("/Users/{UserId}/Items/{Id}/Genres", "GET")]
+ [Route("/Users/{UserId}/Items/{ParentId}/Genres", "GET")]
[Route("/Users/{UserId}/Items/Root/Genres", "GET")]
[ServiceStack.ServiceHost.Api(Description = "Gets all genres from a given item, folder, or the entire library")]
public class GetGenres : GetItemsByName