summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/lib/external-backends/backends/idoit-backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/external-backends/backends/idoit-backend.js b/server/lib/external-backends/backends/idoit-backend.js
index 23ee81a..f0d8ae1 100644
--- a/server/lib/external-backends/backends/idoit-backend.js
+++ b/server/lib/external-backends/backends/idoit-backend.js
@@ -337,7 +337,7 @@ class IdoitBackend extends ExternalBackends {
}
const readSlotsParam = this.getBody('cmdb.category.read', paramsSlots, 'read_slots')
const readSlots = await this.axiosRequest(c.url, [readSlotsParam], headers)
- const bays = readSlots.result
+ const bays = readSlots[0].result
const assignToSlotBody = this.getBody('cmdb.category.save', { 'apikey': c.apikey,
'objID': chassisId,