Browse Source

deleted_messages in getMessages return all'

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

1
api/controllers/messages.ts

@ -45,7 +45,6 @@ const getMessages = async (req, res) => {
status: {[Op.or]: [
constants.statuses.deleted
]},
sender: owner.id
}
// if (chatId) {

1
dist/api/controllers/messages.js

@ -50,7 +50,6 @@ const getMessages = (req, res) => __awaiter(void 0, void 0, void 0, function* ()
status: { [sequelize_1.Op.or]: [
constants.statuses.deleted
] },
sender: owner.id
};
// if (chatId) {
// newMessagesWhere.chat_id = chatId

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

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