Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onLiveQueryEvent returns undefined #6315

Closed
memishood opened this issue Jan 5, 2020 · 1 comment
Closed

onLiveQueryEvent returns undefined #6315

memishood opened this issue Jan 5, 2020 · 1 comment

Comments

@memishood
Copy link

server: 3.9.0 (back4app)

Parse.Cloud.onLiveQueryEvent(({ event, client, sessionToken, useMasterKey, installationId, clients, subscriptions, error }) => {
    if (event !== 'ws_disconnect') {
        return;
    }
    var TAG = 'ParseServerLiveQueryEvent ';
    console.log(TAG, client); // returns 'ws_disconnected'
    console.log(TAG, sessionToken); // returns undefined
    console.log(TAG, useMasterKey); // returns undefined
    console.log(TAG, installationId); // returns undefined
    console.log(TAG, clients); // returns undefined
    console.log(TAG, subscriptions); // returns undefined
    console.log(TAG, error); // returns undefined
});

@dplewis
Copy link
Member

dplewis commented Jan 5, 2020

A PR was submitted and merged.

https://github.com/parse-community/parse-server/pull/6230/files

This will be included in the next release. If you want you can use the latest branch to test this.

@dplewis dplewis closed this as completed Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants