Fix Xo#getXapi().
This commit is contained in:
parent
47ed78031a
commit
7cbe5f64ce
@ -313,7 +313,7 @@ export default class {
|
||||
throw new Error(`object ${object.id} does not belong to a pool`)
|
||||
}
|
||||
|
||||
const xapi = this._xapis[poolId]
|
||||
const xapi = this._xapisByPool[poolId]
|
||||
if (!xapi) {
|
||||
throw new Error(`no connection found for object ${object.id}`)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user