Ver Fonte

fix appVersion errors

Luke Pulverenti há 9 anos atrás
pai
commit
d569ef4fd7

+ 4 - 0
MediaBrowser.Server.Implementations/HttpServer/Security/AuthorizationContext.cs

@@ -104,6 +104,10 @@ namespace MediaBrowser.Server.Implementations.HttpServer.Security
                     {
                         info.DeviceId = tokenInfo.DeviceId;
                     }
+                    if (string.IsNullOrWhiteSpace(info.Version))
+                    {
+                        info.Version = tokenInfo.AppVersion;
+                    }
                 }
                 else
                 {