Browse Source

fix

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

2
api/network/modify.ts

@ -34,7 +34,7 @@ export async function purchaseFromOriginalSender(payload, chat, purchaser){
if(!muid) return
const mediaKey = await models.MediaKey.findOne({where:{originalMuid:muid}})
console.log("MEDIA KEY FOUND",mediaKey.dataValues)
console.log("MEDIA KEY FOUND",mediaKey&&mediaKey.dataValues)
const terms = parseLDAT(mt)
let price = terms.meta && terms.meta.amt

2
dist/api/network/modify.js

@ -48,7 +48,7 @@ function purchaseFromOriginalSender(payload, chat, purchaser) {
if (!muid)
return;
const mediaKey = yield models_1.models.MediaKey.findOne({ where: { originalMuid: muid } });
console.log("MEDIA KEY FOUND", mediaKey.dataValues);
console.log("MEDIA KEY FOUND", mediaKey && mediaKey.dataValues);
const terms = ldat_1.parseLDAT(mt);
let price = terms.meta && terms.meta.amt;
if (amount < price)

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

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