fix(xen-api/getRecord): pass type and ref to _wrapRecord

This commit is contained in:
Julien Fontanet 2019-01-08 14:51:57 +01:00
parent 96a966b9ea
commit b459f74a8c

View File

@ -538,6 +538,8 @@ export class Xapi extends EventEmitter {
async getRecord(type, ref) {
return this._wrapRecord(
type,
ref,
await this._sessionCall(`${type}.get_record`, [ref])
)
}