Browse Source

fix

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
a9e3f65130
  1. 2
      api/controllers/chatTribes.ts
  2. 2
      dist/api/controllers/chatTribes.js
  3. 2
      dist/api/controllers/chatTribes.js.map

2
api/controllers/chatTribes.ts

@ -147,7 +147,7 @@ async function editTribe(req, res) {
async function replayChatHistory(chat, contact) {
const msgs = await models.Message.findAll({ order: [['id', 'asc']], limit:40 })
msgs.forEach(m=> console.log('m',m))
msgs.forEach(m=> console.log('m',m.dataValues))
}

2
dist/api/controllers/chatTribes.js

@ -144,7 +144,7 @@ exports.editTribe = editTribe;
function replayChatHistory(chat, contact) {
return __awaiter(this, void 0, void 0, function* () {
const msgs = yield models_1.models.Message.findAll({ order: [['id', 'asc']], limit: 40 });
msgs.forEach(m => console.log('m', m));
msgs.forEach(m => console.log('m', m.dataValues));
});
}
exports.replayChatHistory = replayChatHistory;

2
dist/api/controllers/chatTribes.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save