From e36801d62b92a1ff1f89e47bec55fca51dbedb1b Mon Sep 17 00:00:00 2001 From: devanshpurani7 Date: Fri, 8 Mar 2024 00:21:24 +0530 Subject: [PATCH] fix version summary module, in the summary now it shows correct CA version in operator part (#654) * fix version summary module --------- Signed-off-by: Devansh Purani --- README.md | 1 + packages/athena/libs/other_apis_lib.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6541ca92..dca069d4 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ You can use the following steps to provision a network using Fabric test-network * jq * docker * docker-compose (V2) +* Node.js v18 or higher * _[WSL2](https://docs.microsoft.com/en-us/windows/wsl/install-win10) (Windows only)_ ## Setup diff --git a/packages/athena/libs/other_apis_lib.js b/packages/athena/libs/other_apis_lib.js index 499c39f1..d58c4824 100644 --- a/packages/athena/libs/other_apis_lib.js +++ b/packages/athena/libs/other_apis_lib.js @@ -1004,7 +1004,7 @@ module.exports = function (logger, ev, t) { const fab_type = types[i]; if (tmp && tmp[fab_type]) { ret.operator.available_fabric_versions[fab_type] = []; - for (let ver in tmp.peer) { + for (let ver in tmp[fab_type]) { ret.operator.available_fabric_versions[fab_type].push(t.misc.prettyPrintVersion(ver)); } }