diff options
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/modules/HardwareStatus/AssemblyStore.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/store/modules/HardwareStatus/AssemblyStore.js b/src/store/modules/HardwareStatus/AssemblyStore.js index 56e5631d..fe97a9c8 100644 --- a/src/store/modules/HardwareStatus/AssemblyStore.js +++ b/src/store/modules/HardwareStatus/AssemblyStore.js @@ -46,8 +46,14 @@ const AssemblyStore = { async updateIdentifyLedValue({ dispatch }, led) { const uri = led.uri; const updatedIdentifyLedValue = { - LocationIndicatorActive: led.identifyLed, + Assemblies: [ + { + MemberId: led.memberId, + LocationIndicatorActive: led.identifyLed, + }, + ], }; + return await api.patch(uri, updatedIdentifyLedValue).catch((error) => { dispatch('getAssemblyInfo'); console.log('error', error); |