@xuda.io/account_module 1.2.461 → 1.2.462
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.
- package/index.mjs +7 -6
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1292,13 +1292,12 @@ export const get_contacts = async function (req) {
|
|
|
1292
1292
|
doc.profile_avatar = account_ret.data.profile_avatar;
|
|
1293
1293
|
|
|
1294
1294
|
doc.card_background = get_contact_background(doc);
|
|
1295
|
-
|
|
1295
|
+
|
|
1296
1296
|
// doc.telephone = `561-235-1675`;
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
}
|
|
1297
|
+
|
|
1298
|
+
// doc.notifications = 45;
|
|
1299
|
+
// doc.online = true;
|
|
1300
|
+
doc.icon_pattern = get_contact_pattern(doc);
|
|
1302
1301
|
}
|
|
1303
1302
|
}
|
|
1304
1303
|
|
|
@@ -1321,6 +1320,7 @@ export const get_contacts = async function (req) {
|
|
|
1321
1320
|
continue; // throw new Error(`account ${contact_uid} not found`);
|
|
1322
1321
|
}
|
|
1323
1322
|
doc.profile_avatar = account_ret.data.profile_avatar;
|
|
1323
|
+
doc.icon_pattern = get_contact_pattern(doc);
|
|
1324
1324
|
doc.name = `${account_ret.data.first_name} ${account_ret.data.last_name}`;
|
|
1325
1325
|
}
|
|
1326
1326
|
doc.card_background = get_contact_background({ pending: true });
|
|
@@ -1342,6 +1342,7 @@ export const get_contacts = async function (req) {
|
|
|
1342
1342
|
doc.name = `${account_ret.data.first_name} ${account_ret.data.last_name}`;
|
|
1343
1343
|
}
|
|
1344
1344
|
doc.card_background = get_contact_background({ pending: true });
|
|
1345
|
+
doc.icon_pattern = get_contact_pattern(doc);
|
|
1345
1346
|
requests_from.docs.push(doc);
|
|
1346
1347
|
}
|
|
1347
1348
|
}
|