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,
|
||||
boardString
|
||||
)
|
||||
}
|
||||
},
|
||||
getBoardMetas(room, callback) {
|
||||
redisClient.hgetall(`${REDIS_PREFIX}-room:${room}-board`, (err, res) => {
|
||||
console.log('board metas',res)
|
||||
console.log('board metas', res)
|
||||
callback(JSON.parse(res))
|
||||
})
|
||||
},
|
||||
|
@ -136,7 +136,7 @@ db.prototype = {
|
|||
}
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
deleteBoardMetas(room, id) {
|
||||
redisClient.hdel(
|
||||
`${REDIS_PREFIX}-room:${room}-board`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue