From d7d681318c2a1d11f8b5054f9de82592b701a3b6 Mon Sep 17 00:00:00 2001 From: uzlopak Date: Thu, 8 Sep 2022 18:01:44 +0200 Subject: [PATCH] minor cosmetic change --- lib/fastifySession.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fastifySession.js b/lib/fastifySession.js index 339a5bc..f309130 100644 --- a/lib/fastifySession.js +++ b/lib/fastifySession.js @@ -53,7 +53,7 @@ function fastifySession (fastify, options, next) { return } const decryptedSessionId = unsignedCookie.value - options.store.get(decryptedSessionId, (err, session) => { + sessionStore.get(decryptedSessionId, (err, session) => { if (err) { if (err.code === 'ENOENT') { request.session = new Session(