Remove unnecessary casts and explicit array types

This commit is contained in:
Patrick Barron
2020-04-05 13:00:35 -04:00
parent 86c06996b1
commit 80cfcf5643
7 changed files with 20 additions and 20 deletions

View File

@@ -241,7 +241,7 @@ namespace MediaBrowser.Api
{
Limit = request.Limit,
StartIndex = request.StartIndex,
ChannelIds = new Guid[] { new Guid(request.Id) },
ChannelIds = new[] { new Guid(request.Id) },
ParentId = string.IsNullOrWhiteSpace(request.FolderId) ? Guid.Empty : new Guid(request.FolderId),
OrderBy = request.GetOrderBy(),
DtoOptions = new Controller.Dto.DtoOptions