From 81e98033fce135bfd78587036baba7735708b053 Mon Sep 17 00:00:00 2001 From: si458 Date: Mon, 25 Mar 2024 13:41:42 +0000 Subject: [PATCH] fix mac memory part number Signed-off-by: si458 --- agents/modules_meshcore/computer-identifiers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/modules_meshcore/computer-identifiers.js b/agents/modules_meshcore/computer-identifiers.js index 4b21d16b..235e96e2 100644 --- a/agents/modules_meshcore/computer-identifiers.js +++ b/agents/modules_meshcore/computer-identifiers.js @@ -623,7 +623,7 @@ function macos_identifiers() var key = parts[0].trim(); var value = parts[1].trim(); value = (key == 'Part Number' || key == 'Manufacturer') ? hexToAscii(parts[1].trim()) : parts[1].trim(); - slotObj[key] = value; // Store attribute in the slot object + slotObj[key.replace(' ','')] = value; // Store attribute in the slot object } }); memorySlots.push(slotObj);