mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 17:24:46 +03:00
some fixes for client reporting
This commit is contained in:
@@ -47,7 +47,7 @@ namespace MediaBrowser.Api
|
||||
|
||||
var auth = GetAuthorization(request);
|
||||
|
||||
if (auth != null)
|
||||
if (auth != null && auth.ContainsKey("UserId"))
|
||||
{
|
||||
var user = UserManager.GetUserById(new Guid(auth["UserId"]));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user