feat(xo-server/callProxyMethod): expectStream as named option
This commit is contained in:
parent
0d0aef6014
commit
30ea1bbf87
@ -317,7 +317,7 @@ export default class Proxy {
|
||||
await this.callProxyMethod(id, 'system.getServerVersion')
|
||||
}
|
||||
|
||||
async callProxyMethod(id, method, params, expectStream = false) {
|
||||
async callProxyMethod(id, method, params, { expectStream = false } = {}) {
|
||||
const proxy = await this._getProxy(id)
|
||||
|
||||
let ipAddress
|
||||
|
Loading…
Reference in New Issue
Block a user