mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Update Jellyfin.Api/Controllers/UniversalAudioController.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
8296f07a39
commit
8422ab687b
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ namespace Jellyfin.Api.Controllers
|
|||
var authorizationInfo = await _authorizationContext.GetAuthorizationInfo(Request).ConfigureAwait(false);
|
||||
authorizationInfo.DeviceId = deviceId;
|
||||
|
||||
if (!userId.HasValue || userId.Equals(Guid.Empty))
|
||||
if (!userId.HasValue || userId.Value.Equals(Guid.Empty))
|
||||
{
|
||||
userId = authorizationInfo.UserId;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue