some fixes for client reporting

This commit is contained in:
LukePulverenti
2013-03-16 15:28:49 -04:00
parent c494cb67da
commit 3a4befff6b
3 changed files with 11 additions and 3 deletions

View File

@@ -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"]));