mirror of
https://github.com/bitwarden/server.git
synced 2025-04-08 22:58:11 -05:00
20 lines
461 B
C#
20 lines
461 B
C#
using System;
|
|
using Bit.Core.Utilities;
|
|
|
|
namespace Bit.Core.Models.Api
|
|
{
|
|
public class VersionResponseModel : ResponseModel
|
|
{
|
|
public VersionResponseModel()
|
|
: base("version")
|
|
{
|
|
var info = CoreHelpers.GetVersionInfo();
|
|
Version = info.version;
|
|
VersionWeight = info.versionWeight;
|
|
}
|
|
|
|
public string Version { get; set; }
|
|
public int VersionWeight { get; set; }
|
|
}
|
|
}
|