mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
Standardize '/version' endpoint on all services (#1755)
This commit is contained in:
@ -1,16 +0,0 @@
|
||||
using System;
|
||||
using Bit.Core.Utilities;
|
||||
|
||||
namespace Bit.Core.Models.Api
|
||||
{
|
||||
public class VersionResponseModel : ResponseModel
|
||||
{
|
||||
public VersionResponseModel()
|
||||
: base("version")
|
||||
{
|
||||
Version = CoreHelpers.GetVersion();
|
||||
}
|
||||
|
||||
public string Version { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user