Browse Source

fix

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
e3af79f500
  1. 3
      api/network/modify.ts
  2. 3
      dist/api/network/modify.js
  3. 2
      dist/api/network/modify.js.map

3
api/network/modify.ts

@ -110,7 +110,8 @@ export async function sendFinalMemeIfFirstPurchaser(payload, chat, sender){
const host = mt.split('.')[0]
const ogPurchaseMessage = await models.Message.findOne({where:{
mediaToken: {[Op.like]: `${host}.${muid}%`}
mediaToken: {[Op.like]: `${host}.${muid}%`},
type: msgtypes.purchase,
}})
console.log('ogPurchaseMessage',ogPurchaseMessage.dataValues)

3
dist/api/network/modify.js

@ -118,7 +118,8 @@ function sendFinalMemeIfFirstPurchaser(payload, chat, sender) {
const termsAndKey = yield downloadAndUploadAndSaveReturningTermsAndKey(payload, chat, sender);
const host = mt.split('.')[0];
const ogPurchaseMessage = yield models_1.models.Message.findOne({ where: {
mediaToken: { [sequelize_1.Op.like]: `${host}.${muid}%` }
mediaToken: { [sequelize_1.Op.like]: `${host}.${muid}%` },
type: msgtypes.purchase,
} });
console.log('ogPurchaseMessage', ogPurchaseMessage.dataValues);
// send it to the purchaser

2
dist/api/network/modify.js.map

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