Skip to content

Commit e8112c5

Browse files
committed
Update ParseLiveQueryServer.js
1 parent b4a3005 commit e8112c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/LiveQuery/ParseLiveQueryServer.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class ParseLiveQueryServer {
141141
if (typeof client === 'undefined') {
142142
continue;
143143
}
144-
requestsIds.forEach(async requestId => {
144+
requestIds.forEach(async requestId => {
145145
const acl = message.currentParseObject.getACL();
146146
// Check CLP
147147
const op = this._getCLPOperation(subscription.query);
@@ -198,7 +198,7 @@ class ParseLiveQueryServer {
198198
JSON.stringify(error)
199199
);
200200
}
201-
}
201+
});
202202
}
203203
}
204204
}
@@ -237,7 +237,7 @@ class ParseLiveQueryServer {
237237
if (typeof client === 'undefined') {
238238
continue;
239239
}
240-
requestsIds.forEach(async requestId => {
240+
requestIds.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;
@@ -352,7 +352,7 @@ class ParseLiveQueryServer {
352352
JSON.stringify(error)
353353
);
354354
}
355-
}
355+
});
356356
}
357357
}
358358
}

0 commit comments

Comments
 (0)