abmp-npm 1.1.92 → 1.1.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,10 +22,10 @@ async function createSiteContact(contactData, allowDuplicates = false) {
22
22
  first: contactData.firstName,
23
23
  last: contactData.lastName,
24
24
  },
25
- emails: [
26
- { items: [{ email: contactData.contactFormEmail || contactData.email, primary: true }] },
27
- ],
28
- phones: [{ items: phones.map(phone => ({ phone })) }],
25
+ emails: {
26
+ items: [{ email: contactData.contactFormEmail || contactData.email, primary: true }],
27
+ },
28
+ phones: { items: phones.map(phone => ({ phone })) },
29
29
  };
30
30
  const createContactResponse = await elevatedCreateContact(contactInfo, { allowDuplicates });
31
31
  return createContactResponse.contact._id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abmp-npm",
3
- "version": "1.1.92",
3
+ "version": "1.1.94",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "check-cycles": "madge --circular .",
package/pages/Profile.js CHANGED
@@ -111,11 +111,11 @@ async function profileOnReady({ $w: _$w }) {
111
111
  }
112
112
 
113
113
  function bindProfileImages() {
114
- if (profileData.logoImage) {
115
- _$w('#logoImage').src = profileData.logoImage;
116
- } else {
117
- _$w('#logoImage').delete();
118
- }
114
+ // if (profileData.logoImage) {
115
+ // _$w('#logoImage').src = profileData.logoImage;
116
+ // } else {
117
+ // _$w('#logoImage').delete();
118
+ // }
119
119
 
120
120
  if (profileData.profileImage) {
121
121
  _$w('#profileImage').src = profileData.profileImage;