mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
version version from json file
This commit is contained in:
@@ -73,7 +73,7 @@ namespace Bit.Admin.Controllers
|
||||
{
|
||||
var json = await response.Content.ReadAsStringAsync();
|
||||
var data = JObject.Parse(json);
|
||||
return new JsonResult(data.ToString());
|
||||
return new JsonResult(data["version"].ToString());
|
||||
}
|
||||
}
|
||||
catch(HttpRequestException) { }
|
||||
|
||||
Reference in New Issue
Block a user