@xuda.io/account_module 1.2.2235 → 1.2.2236
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2283,6 +2283,8 @@ export const get_contacts = async function (req, job_id, headers) {
|
|
|
2283
2283
|
|
|
2284
2284
|
if (!account_profile_info.is_main) {
|
|
2285
2285
|
opt.selector.account_profiles = { $in: [account_profile_info.account_profile_id] };
|
|
2286
|
+
} else {
|
|
2287
|
+
// get the user profile, if profile is archived or deleted the exclude
|
|
2286
2288
|
}
|
|
2287
2289
|
|
|
2288
2290
|
switch (filter_type) {
|