Move the ProductName to the public endpoint

Moves the ProductName field over from the private system/info point to
the public one, for easier identification
This commit is contained in:
Anthony Lavado 2019-04-16 01:16:02 -04:00
parent b2f94c0e40
commit 34ab99caf1
No known key found for this signature in database
GPG key ID: 5E2EBB4CDBCACB40

View file

@ -1425,7 +1425,6 @@ namespace Emby.Server.Implementations
HasPendingRestart = HasPendingRestart,
IsShuttingDown = IsShuttingDown,
Version = ApplicationVersion,
ProductName = ApplicationProductName,
WebSocketPortNumber = HttpPort,
CompletedInstallations = InstallationManager.CompletedInstallations.ToArray(),
Id = SystemId,
@ -1482,6 +1481,7 @@ namespace Emby.Server.Implementations
return new PublicSystemInfo
{
Version = ApplicationVersion,
ProductName = ApplicationProductName,
Id = SystemId,
OperatingSystem = OperatingSystem.Id.ToString(),
WanAddress = wanAddress,