Add DB Version to About Page (#124)

This commit is contained in:
Qstick
2017-11-16 11:07:42 -05:00
committed by GitHub
parent b3f92ccaef
commit e8d44d1cc2
5 changed files with 26 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
using Nancy;
using Nancy;
using Nancy.Routing;
using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Extensions;
@@ -67,6 +67,7 @@ namespace Lidarr.Api.V1.System
Branch = _configFileProvider.Branch,
Authentication = _configFileProvider.AuthenticationMethod,
SqliteVersion = _database.Version,
MigrationVersion = _database.Migration,
UrlBase = _configFileProvider.UrlBase,
RuntimeVersion = _platformInfo.Version,
RuntimeName = PlatformInfo.Platform