getMessage prototype change

This commit is contained in:
Ryan Tharp 2020-08-17 05:34:04 +00:00
parent dc5f888d3b
commit f04c1b03d3
2 changed files with 3 additions and 2 deletions

View File

@ -126,7 +126,8 @@ const deleteMessage = (msg) => {
// return messages in db format
const getMessages = (ids) => {
return new Promise((resolve, rej) => {
cache.getMessage(ids, (getErr, messages) => {
//console.log('moderationHelper::getMessages - asking for', ids)
cache.getMessage(ids, { generalParams: {} }, (getErr, messages) => {
// handle errors
if (getErr) {
console.error('getMessage err', getErr);

2
server

@ -1 +1 @@
Subproject commit 5ea702e060d034b970bc0c30fc0c18685a67b07c
Subproject commit 9307e4f8d30bc6e9d6a9a27cb8d20c68dbc85729