Skip to content

Commit b4a3005

Browse files
authored
Update ParseLiveQueryServer.js
1 parent 5dc7b6f commit b4a3005

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LiveQuery/ParseLiveQueryServer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class ParseLiveQueryServer {
141141
if (typeof client === 'undefined') {
142142
continue;
143143
}
144-
for (const requestId of requestIds) {
144+
requestsIds.forEach(async requestId => {
145145
const acl = message.currentParseObject.getACL();
146146
// Check CLP
147147
const op = this._getCLPOperation(subscription.query);
@@ -237,7 +237,7 @@ class ParseLiveQueryServer {
237237
if (typeof client === 'undefined') {
238238
continue;
239239
}
240-
for (const requestId of requestIds) {
240+
requestsIds.forEach(async requestId => {
241241
// Set orignal ParseObject ACL checking promise, if the object does not match
242242
// subscription, we do not need to check ACL
243243
let originalACLCheckingPromise;

0 commit comments

Comments
 (0)