aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserLibrary/GameGenresService.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-11-10 09:49:56 -0500
committerGitHub <noreply@github.com>2016-11-10 09:49:56 -0500
commit43f3b6097fbc5bb17f281dae123553ee52ee0a37 (patch)
tree3e6aba78db9452803edf552189e8659faf2d0b6a /MediaBrowser.Api/UserLibrary/GameGenresService.cs
parentb580209848e25f9de597a9797eae7a8813c4e3ab (diff)
parent9b891f2c9a4f37e2a914dc8fc5faba4e919e2b8f (diff)
Merge pull request #2279 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/GameGenresService.cs')
-rw-r--r--MediaBrowser.Api/UserLibrary/GameGenresService.cs13
1 files changed, 6 insertions, 7 deletions
diff --git a/MediaBrowser.Api/UserLibrary/GameGenresService.cs b/MediaBrowser.Api/UserLibrary/GameGenresService.cs
index 809df2531..2eef1ab2f 100644
--- a/MediaBrowser.Api/UserLibrary/GameGenresService.cs
+++ b/MediaBrowser.Api/UserLibrary/GameGenresService.cs
@@ -37,11 +37,6 @@ namespace MediaBrowser.Api.UserLibrary
[Authenticated]
public class GameGenresService : BaseItemsByNameService<GameGenre>
{
- public GameGenresService(IUserManager userManager, ILibraryManager libraryManager, IUserDataManager userDataRepository, IItemRepository itemRepo, IDtoService dtoService)
- : base(userManager, libraryManager, userDataRepository, itemRepo, dtoService)
- {
- }
-
/// <summary>
/// Gets the specified request.
/// </summary>
@@ -63,8 +58,8 @@ namespace MediaBrowser.Api.UserLibrary
{
var item = GetGameGenre(request.Name, LibraryManager);
- var dtoOptions = GetDtoOptions(request);
-
+ var dtoOptions = GetDtoOptions(AuthorizationContext, request);
+
if (!string.IsNullOrWhiteSpace(request.UserId))
{
var user = UserManager.GetUserById(request.UserId);
@@ -102,5 +97,9 @@ namespace MediaBrowser.Api.UserLibrary
{
throw new NotImplementedException();
}
+
+ public GameGenresService(IUserManager userManager, ILibraryManager libraryManager, IUserDataManager userDataRepository, IItemRepository itemRepository, IDtoService dtoService, IAuthorizationContext authorizationContext) : base(userManager, libraryManager, userDataRepository, itemRepository, dtoService, authorizationContext)
+ {
+ }
}
}