sessions: split regex into array and regex

session-creation-tests
John McLear 2021-03-05 08:22:06 +00:00
parent 4daa0fe030
commit ead251a841
1 changed files with 4 additions and 0 deletions

View File

@ -41,4 +41,8 @@ module.exports = class SessionStore extends Store {
logger.debug(`DESTROY ${sid}`); logger.debug(`DESTROY ${sid}`);
DB.db.remove(`sessionstorage:${sid}`, fn); DB.db.remove(`sessionstorage:${sid}`, fn);
} }
store(fn) {
Store.length(null, fn);
}
}; };