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
pull/1239/head
Anthony Lavado 5 years ago
parent b2f94c0e40
commit 34ab99caf1
No known key found for this signature in database
GPG Key ID: 5E2EBB4CDBCACB40

@ -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,

Loading…
Cancel
Save