This commit is contained in:
Dave Horton
2024-11-19 09:37:53 -05:00
committed by GitHub
parent b976a62a60
commit 916d577b75
4 changed files with 69 additions and 7 deletions

4
app.js
View File

@@ -68,6 +68,8 @@ const {
decrKey,
retrieveSet,
isMemberOfSet,
addKey,
retrieveKey
} = require('@jambonz/realtimedb-helpers')({}, logger);
const activeCallIds = new Map();
@@ -101,6 +103,8 @@ srf.locals = {...srf.locals,
},
realtimeDbHelpers: {
client: redisClient,
addKey,
retrieveKey,
createHash,
retrieveHash,
incrKey,