SessionStore: Use single quotes everywhere

pull/4313/head
Richard Hansen 2020-09-21 16:52:57 -04:00 committed by John McLear
parent 012449101d
commit 5fb6bc1938
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ SessionStore.prototype.get = function(sid, fn) {
SessionStore.prototype.set = function(sid, sess, fn) {
messageLogger.debug('SET ' + sid);
db.set("sessionstorage:" + sid, sess);
db.set('sessionstorage:' + sid, sess);
if (fn) {
process.nextTick(fn);
}
@ -46,7 +46,7 @@ SessionStore.prototype.set = function(sid, sess, fn) {
SessionStore.prototype.destroy = function(sid, fn) {
messageLogger.debug('DESTROY ' + sid);
db.remove("sessionstorage:" + sid);
db.remove('sessionstorage:' + sid);
if (fn) {
process.nextTick(fn);
}