diff options
| author | gnattu <gnattu@users.noreply.github.com> | 2024-09-24 22:15:53 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-24 08:15:53 -0600 |
| commit | 75bbd3029613829a9b55ac01e27093583fc8cf52 (patch) | |
| tree | 925f7f43c0186b6338bd865d79b5f92a3932f797 /Jellyfin.Api/Controllers/SessionController.cs | |
| parent | 38d0b004baf4ff80d178a30d720e81e66b532b75 (diff) | |
Fix get sessions with api key (#12696)
Diffstat (limited to 'Jellyfin.Api/Controllers/SessionController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SessionController.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SessionController.cs b/Jellyfin.Api/Controllers/SessionController.cs index 72eb93eff..2f9e9f091 100644 --- a/Jellyfin.Api/Controllers/SessionController.cs +++ b/Jellyfin.Api/Controllers/SessionController.cs @@ -62,7 +62,8 @@ public class SessionController : BaseJellyfinApiController User.GetUserId(), deviceId, activeWithinSeconds, - controllableUserToCheck); + controllableUserToCheck, + User.GetIsApiKey()); return Ok(result); } |
