@xuda.io/account_module 1.2.1281 → 1.2.1282
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 +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1125,7 +1125,7 @@ export const find_contact_duplicates = async function (req) {
|
|
|
1125
1125
|
selector: {
|
|
1126
1126
|
docType: 'contact',
|
|
1127
1127
|
stat: { $lt: 4 },
|
|
1128
|
-
uid,
|
|
1128
|
+
// uid,
|
|
1129
1129
|
},
|
|
1130
1130
|
limit: 999999,
|
|
1131
1131
|
};
|
|
@@ -1133,7 +1133,7 @@ export const find_contact_duplicates = async function (req) {
|
|
|
1133
1133
|
if (typeof name !== 'undefined') {
|
|
1134
1134
|
opt.selector.name = name;
|
|
1135
1135
|
}
|
|
1136
|
-
const contact_ret = await
|
|
1136
|
+
const contact_ret = await find_contact_query(uid, opt);
|
|
1137
1137
|
var duplicates = {};
|
|
1138
1138
|
for (contact of contact_ret.docs) {
|
|
1139
1139
|
if (!duplicates[contact.name]) {
|