From 9f0ac0df47473320aa1956efa47b1d68377bccd8 Mon Sep 17 00:00:00 2001 From: tiwari-nishant Date: Tue, 7 Jan 2025 16:33:45 +0530 Subject: [PATCH] =?UTF-8?q?=C2=B7Fixed=20System=20Attention=20Led=20Toggli?= =?UTF-8?q?ng=20=C2=B7Defect:https://jazz07.rchland.ibm.com:13443/jazz/web?= =?UTF-8?q?/projects/CSSD#action=3Dcom.ibm.team.workitem.viewWorkItem&id?= =?UTF-8?q?=3D670065?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/HardwareStatus/SystemStore.js | 2 +- .../HardwareStatus/Inventory/InventoryServiceIndicator.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/HardwareStatus/SystemStore.js b/src/store/modules/HardwareStatus/SystemStore.js index d1ffb54937..e276697d4d 100644 --- a/src/store/modules/HardwareStatus/SystemStore.js +++ b/src/store/modules/HardwareStatus/SystemStore.js @@ -72,7 +72,7 @@ export const SystemStore = defineStore('system', { }, async changeSystemAttentionLedState(ledState) { return await api - .patch('/api/redfish/v1/Systems/system', { + .patch('/redfish/v1/Systems/system', { Oem: { IBM: { PartitionSystemAttentionIndicator: ledState, diff --git a/src/views/HardwareStatus/Inventory/InventoryServiceIndicator.vue b/src/views/HardwareStatus/Inventory/InventoryServiceIndicator.vue index 0ab3145a82..e7f04440c9 100644 --- a/src/views/HardwareStatus/Inventory/InventoryServiceIndicator.vue +++ b/src/views/HardwareStatus/Inventory/InventoryServiceIndicator.vue @@ -150,7 +150,7 @@ function toggleIdentifyLedSwitch(ledState) { function toggleSystemAttentionLedSwitch(systemLedState) { systemStore - .changeIdentifyLedState(systemLedState) + .changeSystemAttentionLedState(systemLedState) .then((message) => successToast(message)) .catch(({ message }) => errorToast(message)); }