Browse Source

no chat id in repayment record for now

dependabot/npm_and_yarn/ini-1.3.7
Evan Feenstra 4 years ago
parent
commit
3c77fe4d68
  1. 2
      dist/src/controllers/messages.js
  2. 2
      dist/src/controllers/messages.js.map
  3. 2
      src/controllers/messages.ts

2
dist/src/controllers/messages.js

@ -305,7 +305,7 @@ exports.receiveRepayment = (payload) => __awaiter(void 0, void 0, void 0, functi
if (date_string)
date = new Date(date_string);
const message = yield models_1.models.Message.create({
chatId: chat.id,
// chatId: chat.id,
type: constants_1.default.message_types.repayment,
sender: sender.id,
date: date,

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

File diff suppressed because one or more lines are too long

2
src/controllers/messages.ts

@ -337,7 +337,7 @@ export const receiveRepayment = async (payload) => {
if(date_string) date=new Date(date_string)
const message = await models.Message.create({
chatId: chat.id,
// chatId: chat.id,
type: constants.message_types.repayment,
sender: sender.id,
date: date,

Loading…
Cancel
Save