fix: typo missing ,
This commit is contained in:
parent
a3fea58f4e
commit
a207214f6e
1 changed files with 3 additions and 3 deletions
|
@ -119,10 +119,10 @@ db.prototype = {
|
||||||
id,
|
id,
|
||||||
boardString
|
boardString
|
||||||
)
|
)
|
||||||
}
|
},
|
||||||
getBoardMetas(room, callback) {
|
getBoardMetas(room, callback) {
|
||||||
redisClient.hgetall(`${REDIS_PREFIX}-room:${room}-board`, (err, res) => {
|
redisClient.hgetall(`${REDIS_PREFIX}-room:${room}-board`, (err, res) => {
|
||||||
console.log('board metas',res)
|
console.log('board metas', res)
|
||||||
callback(JSON.parse(res))
|
callback(JSON.parse(res))
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue