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