mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
[SG-614] Web Version Discrepancy
[SG-614] Fixed web/core version, they were switched. (#2207)
This commit is contained in:
parent
13d1e74d69
commit
c36d6fa3ba
@ -50,8 +50,8 @@ namespace Bit.Admin.Controllers
|
|||||||
var latestVersions = JsonConvert.DeserializeObject<LatestVersions>(await response.Content.ReadAsStringAsync());
|
var latestVersions = JsonConvert.DeserializeObject<LatestVersions>(await response.Content.ReadAsStringAsync());
|
||||||
return project switch
|
return project switch
|
||||||
{
|
{
|
||||||
ProjectType.Core => new JsonResult(latestVersions.Versions.WebVersion),
|
ProjectType.Core => new JsonResult(latestVersions.Versions.CoreVersion),
|
||||||
ProjectType.Web => new JsonResult(latestVersions.Versions.CoreVersion),
|
ProjectType.Web => new JsonResult(latestVersions.Versions.WebVersion),
|
||||||
_ => throw new System.NotImplementedException(),
|
_ => throw new System.NotImplementedException(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user