Browse Source

logz

bugfix/timeout-logging
Evan Feenstra 5 years ago
parent
commit
f635180654
  1. 1
      api/controllers/chats.ts
  2. 1
      dist/api/controllers/chats.js
  3. 2
      dist/api/controllers/chats.js.map

1
api/controllers/chats.ts

@ -240,6 +240,7 @@ export async function receiveGroupJoin(payload) {
const chat = await models.Chat.findOne({ where: { uuid: chat_uuid } })
if (!chat) return
console.log("THE CHAT",chat.dataValues)
const isTribe = chat_type===constants.chat_types.tribe

1
dist/api/controllers/chats.js

@ -230,6 +230,7 @@ function receiveGroupJoin(payload) {
const chat = yield models_1.models.Chat.findOne({ where: { uuid: chat_uuid } });
if (!chat)
return;
console.log("THE CHAT", chat.dataValues);
const isTribe = chat_type === constants.chat_types.tribe;
var date = new Date();
date.setMilliseconds(0);

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

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