From 4c6e2506b90ba092fbd6c116711ec0169757a29a Mon Sep 17 00:00:00 2001 From: Ayoub-Mabrouk Date: Sat, 2 Nov 2024 01:19:23 +0100 Subject: [PATCH] refactor: remove unused `sess` parameter from `generateSessionId` function The `sess` parameter was not used in `generateSessionId`, so it was removed to improve code clarity and reduce potential confusion. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d41b2378..85a0330c 100644 --- a/index.js +++ b/index.js @@ -523,7 +523,7 @@ function session(options) { * @private */ -function generateSessionId(sess) { +function generateSessionId() { return uid(24); }