Skip to content

Commit fa956c7

Browse files
committed
nits
1 parent ec5af2f commit fa956c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/LiveQuery/ParseLiveQueryServer.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ class ParseLiveQueryServer {
352352
}
353353
return Parse.Promise.as(['*']);
354354
}).then((aclGroup) => {
355-
console.log(aclGroup); // eslint-disable-line
356355
try {
357356
return SchemaController.validatePermission(classLevelPermissions, object.className, aclGroup, op).then(() => {
358357
return Parse.Promise.as(true);
@@ -377,7 +376,7 @@ class ParseLiveQueryServer {
377376
}
378377

379378
_getCLPOperation(query: any) {
380-
return typeof query == 'object'
379+
return typeof query === 'object'
381380
&& Object.keys(query).length == 1
382381
&& typeof query.objectId === 'string' ? 'get' : 'find';
383382
}

0 commit comments

Comments
 (0)