fix(Xapi#_init): fix promisify() usage
This commit is contained in:
parent
bd0c747d98
commit
2c35ee11b3
@ -512,7 +512,7 @@ export class Xapi extends EventEmitter {
|
||||
timeout: 10
|
||||
})
|
||||
|
||||
this._xmlRpcCall = client.methodCall::promisify(client)
|
||||
this._xmlRpcCall = promisify(client.methodCall, client)
|
||||
}
|
||||
|
||||
_addObject (type, ref, object) {
|
||||
|
Loading…
Reference in New Issue
Block a user