File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -183,9 +183,7 @@ Auth.prototype.getRolesForUser = async function () {
183
183
// Iterates through the role tree and compiles a user's roles
184
184
Auth . prototype . _loadRoles = async function ( ) {
185
185
if ( this . cacheController ) {
186
- console . log ( this . cacheController . role ) ;
187
186
const cachedRoles = await this . cacheController . role . get ( this . user . id ) ;
188
- console . log ( { cachedRoles } ) ;
189
187
if ( cachedRoles != null ) {
190
188
this . fetchedRoles = true ;
191
189
this . userRoles = cachedRoles ;
@@ -238,7 +236,6 @@ Auth.prototype.clearRoleCache = function (sessionToken) {
238
236
}
239
237
this . cacheController . role . del ( this . user . id ) ;
240
238
this . cacheController . user . del ( sessionToken ) ;
241
- console . log ( 'clear' , this . user . id ) ;
242
239
return true ;
243
240
} ;
244
241
Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ class ParseLiveQueryServer {
91
91
}
92
92
if ( channel === Parse . applicationId + 'clearCache' ) {
93
93
this . _clearCachedRoles ( message . userId ) ;
94
- console . log ( 'did clear cache...' ) ;
95
94
return ;
96
95
}
97
96
this . _inflateParseObject ( message ) ;
You can’t perform that action at this time.
0 commit comments