@xuda.io/account_module 1.2.491 → 1.2.492
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 +6 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1340,10 +1340,14 @@ export const get_contacts = async function (req) {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
|
|
1343
|
-
doc.border = get_contact_border(doc);
|
|
1344
|
-
|
|
1345
1343
|
doc.icon_pattern = get_contact_pattern(doc);
|
|
1346
1344
|
}
|
|
1345
|
+
doc.border = get_contact_border(doc);
|
|
1346
|
+
if (!doc.name) {
|
|
1347
|
+
doc.name = doc.email;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
doc.email = '';
|
|
1347
1351
|
}
|
|
1348
1352
|
|
|
1349
1353
|
let requests_to = { docs: [] };
|