Stupid fix -_-".

This commit is contained in:
Julien Fontanet
2015-04-13 16:48:32 +02:00
parent 1dec134a6b
commit 8eb63de201
+3 -3
View File
@@ -294,9 +294,9 @@ export class Xapi extends EventEmitter {
}
_watchEvents () {
this.call('event.from', [
['*'], this._fromToken, 1e3 + 0.1
]).then(({token, events}) => {
this.call(
'event.from', ['*'], this._fromToken, 1e3 + 0.1
).then(({token, events}) => {
this._fromToken = token
const {_objects: objects} = this