From ead251a84106db6135732542ff0703286fc1cb34 Mon Sep 17 00:00:00 2001 From: John McLear Date: Fri, 5 Mar 2021 08:22:06 +0000 Subject: [PATCH] sessions: split regex into array and regex --- src/node/db/SessionStore.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/node/db/SessionStore.js b/src/node/db/SessionStore.js index 2c5d1ca25..2f1a2d0b7 100644 --- a/src/node/db/SessionStore.js +++ b/src/node/db/SessionStore.js @@ -41,4 +41,8 @@ module.exports = class SessionStore extends Store { logger.debug(`DESTROY ${sid}`); DB.db.remove(`sessionstorage:${sid}`, fn); } + + store(fn) { + Store.length(null, fn); + } };