Browse Source

fix

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

1
api/controllers/contacts.ts

@ -199,6 +199,7 @@ const receiveConfirmContactKey = async (payload) => {
// download and store photo locally
}
console.log('sender_pub_key',sender_pub_key)
const sender = await models.Contact.findOne({ where: { publicKey: sender_pub_key, status: constants.contact_statuses.confirmed }})
console.log('sender',sender)
if (sender_contact_key && sender) {

1
dist/api/controllers/contacts.js

@ -180,6 +180,7 @@ const receiveConfirmContactKey = (payload) => __awaiter(void 0, void 0, void 0,
if (sender_photo_url) {
// download and store photo locally
}
console.log('sender_pub_key', sender_pub_key);
const sender = yield models_1.models.Contact.findOne({ where: { publicKey: sender_pub_key, status: constants.contact_statuses.confirmed } });
console.log('sender', sender);
if (sender_contact_key && sender) {

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

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