Skip to content

Commit 89ed0a2

Browse files
committed
Update ParseLiveQueryServer.js
1 parent 3030322 commit 89ed0a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/LiveQuery/ParseLiveQueryServer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ class ParseLiveQueryServer {
578578
return false;
579579
});
580580
}
581+
581582
async getAuthFromClient(client: any, res: any, requestId: number, sessionToken: string) {
582583
const getSessionFromClient = () => {
583584
const subscriptionInfo = client.getSubscriptionInfo(requestId);
@@ -595,6 +596,7 @@ class ParseLiveQueryServer {
595596
}
596597
return auth;
597598
}
599+
598600
async _matchesACL(acl: any, client: any, requestId: number): Promise<boolean> {
599601
// Return true directly if ACL isn't present, ACL is public read, or client has master key
600602
if (!acl || acl.getPublicReadAccess() || client.hasMasterKey) {

0 commit comments

Comments
 (0)