feature/Reynolds-and-Reynolds-DMS-API-Integration - Scaffolding

This commit is contained in:
Dave
2025-10-01 14:19:44 -04:00
parent 3d112ed2cd
commit b995e1f35d
7 changed files with 783 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ const applyRedisHelpers = ({ pubClient, app, logger }) => {
// Store session data in Redis
const setSessionData = async (socketId, key, value, ttl) => {
try {
await pubClient.hset(`socket:${socketId}`, key, JSON.stringify(value), ttl); // Use Redis pubClient
await pubClient.hset(`socket:${socketId}`, key, JSON.stringify(value)); // Use Redis pubClient
if (ttl && typeof ttl === "number") {
await pubClient.expire(`socket:${socketId}`, ttl);
}