Browse Source

chatid on purchase record

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

1
api/controllers/media.ts

@ -167,6 +167,7 @@ const purchase = async (req, res) => {
})
const message = await models.Message.create({
chatId: chat.id,
sender: owner.id,
type: constants.message_types.purchase,
mediaToken: media_token,

1
dist/api/controllers/media.js

@ -147,6 +147,7 @@ const purchase = (req, res) => __awaiter(void 0, void 0, void 0, function* () {
recipient_id: contact_id
});
const message = yield models_1.models.Message.create({
chatId: chat.id,
sender: owner.id,
type: constants.message_types.purchase,
mediaToken: media_token,

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

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