Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cozy-realtime): Don't crash if no event exist
Doing `Object.keys(this._events)` thrown an error when `this._events` was undefined. We already had a `_getEventKeys` method that handles this. So I just used it.
- Loading branch information