fix(Xapi#_updateObjectMapProperty): prepare XAPI param
This commit is contained in:
parent
9991ef624c
commit
75cae8c647
@ -304,7 +304,7 @@ export default class Xapi extends XapiBase {
|
||||
// properties that failed to be set.
|
||||
await Promise.all(mapToArray(props, (value, name) => {
|
||||
if (value != null) {
|
||||
return this.call(`${namespace}.set_${camelToSnakeCase(name)}`, ref, value)
|
||||
return this.call(`${namespace}.set_${camelToSnakeCase(name)}`, ref, prepareXapiParam(value))
|
||||
}
|
||||
}))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user