mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
10 lines
228 B
CoffeeScript
10 lines
228 B
CoffeeScript
RedisWrapper = require("../../infrastructure/RedisWrapper")
|
|
rclient = RedisWrapper.client("websessions")
|
|
|
|
module.exports = Redis =
|
|
client: () ->
|
|
return rclient
|
|
|
|
sessionSetKey: (user) ->
|
|
return "UserSessions:{#{user._id}}"
|