fix appVersion errors

This commit is contained in:
Luke Pulverenti 2016-06-23 01:25:43 -04:00
parent e8e5a314c5
commit d569ef4fd7

View File

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