Skip to content

Commit

Permalink
chore: linting not included in #5212
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila committed Jan 10, 2025
1 parent 8731f43 commit 65538f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/server/socialLogins.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Redis = require('ioredis');
const passport = require('passport');
const session = require('express-session');
const MemoryStore = require('memorystore')(session)
const MemoryStore = require('memorystore')(session);
const RedisStore = require('connect-redis').default;
const {
setupOpenId,
Expand Down Expand Up @@ -51,8 +51,8 @@ const configureSocialLogins = (app) => {
sessionOptions.store = new RedisStore({ client, prefix: 'librechat' });
} else {
sessionOptions.store = new MemoryStore({
checkPeriod: 86400000 // prune expired entries every 24h
})
checkPeriod: 86400000, // prune expired entries every 24h
});
}
app.use(session(sessionOptions));
app.use(passport.session());
Expand Down

0 comments on commit 65538f3

Please sign in to comment.