fix(xen-api/connect): always pass params to _transporCall

This commit is contained in:
Julien Fontanet 2019-02-28 12:35:51 +01:00
parent c728eeaffa
commit 468a2c5bf3

View File

@ -427,7 +427,7 @@ export class Xapi extends EventEmitter {
try {
const [methods, sessionId] = await Promise.all([
this._transportCall('system.listMethods'),
this._transportCall('system.listMethods', []),
this._transportCall('session.login_with_password', [
auth.user,
auth.password,