aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/UserViewsController.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2022-10-07 07:49:46 +0200
committerGitHub <noreply@github.com>2022-10-07 07:49:46 +0200
commit803972a76f6f8eb590b2de06662f7e83ce40273d (patch)
treedd72f47907390a7a88373d4cc7510d602ed2d556 /Jellyfin.Api/Controllers/UserViewsController.cs
parent927fe33d3a0ec7f9e0fb568cfd423c6e8b966c9d (diff)
parent6afc9110439c3c5345beb9a6bac1968ee4dedce8 (diff)
Merge pull request #8500 from cvium/fix_authcontext_usage
Diffstat (limited to 'Jellyfin.Api/Controllers/UserViewsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/UserViewsController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/UserViewsController.cs b/Jellyfin.Api/Controllers/UserViewsController.cs
index 04732ccf2..85d154cac 100644
--- a/Jellyfin.Api/Controllers/UserViewsController.cs
+++ b/Jellyfin.Api/Controllers/UserViewsController.cs
@@ -85,7 +85,7 @@ namespace Jellyfin.Api.Controllers
var folders = _userViewManager.GetUserViews(query);
- var dtoOptions = new DtoOptions().AddClientFields(Request);
+ var dtoOptions = new DtoOptions().AddClientFields(User);
var fields = dtoOptions.Fields.ToList();
fields.Add(ItemFields.PrimaryImageAspectRatio);