From c36d6fa3ba30c9d5cf498159df7d134ae1947404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Filipe=20da=20Silva=20Bispo?= Date: Tue, 23 Aug 2022 10:31:29 +0100 Subject: [PATCH] [SG-614] Web Version Discrepancy [SG-614] Fixed web/core version, they were switched. (#2207) --- src/Admin/Controllers/HomeController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Admin/Controllers/HomeController.cs b/src/Admin/Controllers/HomeController.cs index 9a113538a3..fe93eef26c 100644 --- a/src/Admin/Controllers/HomeController.cs +++ b/src/Admin/Controllers/HomeController.cs @@ -50,8 +50,8 @@ namespace Bit.Admin.Controllers var latestVersions = JsonConvert.DeserializeObject(await response.Content.ReadAsStringAsync()); return project switch { - ProjectType.Core => new JsonResult(latestVersions.Versions.WebVersion), - ProjectType.Web => new JsonResult(latestVersions.Versions.CoreVersion), + ProjectType.Core => new JsonResult(latestVersions.Versions.CoreVersion), + ProjectType.Web => new JsonResult(latestVersions.Versions.WebVersion), _ => throw new System.NotImplementedException(), }; }