File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ ipc.attach();
9191
9292/**
9393 * Process token session request
94- *
94+ *
9595 * @param {Object } msg IPC message
9696 */
9797async function processTokenSession ( msg ) {
@@ -146,10 +146,10 @@ async function processTokenSession(msg) {
146146 } ) ;
147147 } , 10000 ) ;
148148 }
149- else {
150- appusersCollection . updateOne ( { _id : app_user_id } , { $unset : { [ appusersField ] : 1 } } , function ( ) { } ) ;
151- pushCollection . updateOne ( { _id : uid } , { $unset : { [ pushField ] : 1 } } , function ( ) { } ) ;
152- }
149+ // else {
150+ // appusersCollection.updateOne({_id: app_user_id}, {$unset: {[appusersField]: 1}}, function() {});
151+ // pushCollection.updateOne({_id: uid}, {$unset: {[pushField]: 1}}, function() {});
152+ // }
153153}
154154
155155module . exports . onTokenSession = async ( dbAppUser , params ) => {
You can’t perform that action at this time.
0 commit comments