update user views

This commit is contained in:
Luke Pulverenti
2015-08-14 14:30:08 -04:00
parent 032891c9f3
commit 45c8f51a9c
6 changed files with 13 additions and 11 deletions

View File

@@ -1399,12 +1399,12 @@ namespace MediaBrowser.Server.Implementations.Channels
{
var user = string.IsNullOrEmpty(userId) ? null : _userManager.GetUserById(userId);
var folder = await GetInternalChannelFolder(userId, cancellationToken).ConfigureAwait(false);
var folder = await GetInternalChannelFolder(cancellationToken).ConfigureAwait(false);
return _dtoService.GetBaseItemDto(folder, new DtoOptions(), user);
}
public async Task<Folder> GetInternalChannelFolder(string userId, CancellationToken cancellationToken)
public async Task<Folder> GetInternalChannelFolder(CancellationToken cancellationToken)
{
var name = _localization.GetLocalizedString("ViewTypeChannels");