Skip to content

Commit 99b12d4

Browse files
committed
remove logging
1 parent eb7e79b commit 99b12d4

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/Auth.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,7 @@ Auth.prototype.getRolesForUser = async function () {
183183
// Iterates through the role tree and compiles a user's roles
184184
Auth.prototype._loadRoles = async function () {
185185
if (this.cacheController) {
186-
console.log(this.cacheController.role);
187186
const cachedRoles = await this.cacheController.role.get(this.user.id);
188-
console.log({ cachedRoles });
189187
if (cachedRoles != null) {
190188
this.fetchedRoles = true;
191189
this.userRoles = cachedRoles;
@@ -238,7 +236,6 @@ Auth.prototype.clearRoleCache = function (sessionToken) {
238236
}
239237
this.cacheController.role.del(this.user.id);
240238
this.cacheController.user.del(sessionToken);
241-
console.log('clear', this.user.id);
242239
return true;
243240
};
244241

src/LiveQuery/ParseLiveQueryServer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ class ParseLiveQueryServer {
9191
}
9292
if (channel === Parse.applicationId + 'clearCache') {
9393
this._clearCachedRoles(message.userId);
94-
console.log('did clear cache...');
9594
return;
9695
}
9796
this._inflateParseObject(message);

0 commit comments

Comments
 (0)