mirror of
https://github.com/bitwarden/server.git
synced 2025-04-23 14:05:10 -05:00
version version from json file
This commit is contained in:
parent
c8191132d4
commit
bf3c01ac46
@ -73,7 +73,7 @@ namespace Bit.Admin.Controllers
|
|||||||
{
|
{
|
||||||
var json = await response.Content.ReadAsStringAsync();
|
var json = await response.Content.ReadAsStringAsync();
|
||||||
var data = JObject.Parse(json);
|
var data = JObject.Parse(json);
|
||||||
return new JsonResult(data.ToString());
|
return new JsonResult(data["version"].ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(HttpRequestException) { }
|
catch(HttpRequestException) { }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user