1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

get rid of version weight

This commit is contained in:
Kyle Spearrin
2017-09-06 23:57:14 -04:00
parent acb6c59e5e
commit 24fe7a9f88
3 changed files with 4 additions and 23 deletions

View File

@ -8,12 +8,9 @@ namespace Bit.Core.Models.Api
public VersionResponseModel()
: base("version")
{
var info = CoreHelpers.GetVersionInfo();
Version = info.version;
VersionWeight = info.versionWeight;
Version = CoreHelpers.GetVersion();
}
public string Version { get; set; }
public int VersionWeight { get; set; }
}
}