mirror of https://github.com/xwiki-labs/cryptpad
lint compliance
This commit is contained in:
parent
f94713ceca
commit
9c28941f6c
|
@ -70,7 +70,7 @@ Core.expireSession = function (Sessions, safeKey) {
|
|||
|
||||
Core.expireSessionAsync = function (Env, safeKey, cb) {
|
||||
setTimeout(function () {
|
||||
Core.expireSession(Sessions, safeKey);
|
||||
Core.expireSession(Env.Sessions, safeKey);
|
||||
cb(void 0, 'OK');
|
||||
});
|
||||
};
|
||||
|
|
|
@ -196,8 +196,6 @@ var handleAuthenticatedMessage = function (Env, map) {
|
|||
Respond(void 0, result);
|
||||
});
|
||||
default:
|
||||
console.log(msg);
|
||||
throw new Error("OOPS");
|
||||
return void Respond('UNSUPPORTED_RPC_CALL', msg);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue