mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 21:59:00 +02:00
0ca81de78c
Decaffeinate backend GitOrigin-RevId: 4ca9f94fc809cab6f47cec8254cacaf1bb3806fa
19 lines
401 B
JavaScript
19 lines
401 B
JavaScript
/* eslint-disable
|
|
no-unused-vars,
|
|
*/
|
|
// TODO: This file was created by bulk-decaffeinate.
|
|
// Fix any style issues and re-enable lint.
|
|
let Redis
|
|
const RedisWrapper = require('../../infrastructure/RedisWrapper')
|
|
const rclient = RedisWrapper.client('websessions')
|
|
|
|
module.exports = Redis = {
|
|
client() {
|
|
return rclient
|
|
},
|
|
|
|
sessionSetKey(user) {
|
|
return `UserSessions:{${user._id}}`
|
|
}
|
|
}
|