From 2c35ee11b3ecd508d2ad9743c738e3f01d1e30fe Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Tue, 11 Oct 2016 17:22:23 +0200 Subject: [PATCH] fix(Xapi#_init): fix promisify() usage --- packages/xen-api/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/xen-api/src/index.js b/packages/xen-api/src/index.js index a38a6ff14..ae00242f6 100644 --- a/packages/xen-api/src/index.js +++ b/packages/xen-api/src/index.js @@ -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) {