@xuda.io/account_module 1.2.1643 → 1.2.1645

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.
Files changed (2) hide show
  1. package/index.mjs +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2253,7 +2253,7 @@ const update_contact_profile_picture_status = async function (uid, contact_id, s
2253
2253
  }
2254
2254
  };
2255
2255
 
2256
- export const get_contacts = async function (req) {
2256
+ export const get_contacts = async function (req, job_id, headers) {
2257
2257
  const { _id, uid, name, limit, skip, bookmark, search, filter_type = 'all', contact_id, profile_id } = req;
2258
2258
  try {
2259
2259
  const account_profile_info = await get_active_account_profile_info(uid, profile_id);
@@ -2374,6 +2374,7 @@ export const get_contacts = async function (req) {
2374
2374
  }
2375
2375
 
2376
2376
  contact_docs.docs.push(doc);
2377
+
2377
2378
  if (contact_id) {
2378
2379
  if (doc.profile_avatar_stat === 1) {
2379
2380
  set_contact_profile_picture(uid, doc._id, {}, job_id, headers);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1643",
3
+ "version": "1.2.1645",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {