Skip to content

Commit ad7951b

Browse files
committed
Updating chaning
1 parent 9cf4fb0 commit ad7951b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/ParseLiveQuery.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,9 @@ let DefaultLiveQueryController = {
123123
// Register a default onError callback to make sure we do not crash on error
124124
defaultLiveQueryClient.on('error', (error) => {
125125
LiveQuery.emit('error', error);
126-
});
127-
defaultLiveQueryClient.on('open', () => {
126+
}).on('open', () => {
128127
LiveQuery.emit('open');
129-
});
130-
defaultLiveQueryClient.on('close', () => {
128+
}).on('close', () => {
131129
LiveQuery.emit('close');
132130
});
133131

0 commit comments

Comments
 (0)