@xuda.io/account_module 1.2.323 → 1.2.324

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1268,8 +1268,8 @@ export const add_contact = async function (req, job_id, headers) {
1268
1268
  };
1269
1269
  const ret = await db_module.save_couch_doc('xuda_contacts', doc);
1270
1270
 
1271
- const app_id = await get_account_default_project_id(uid);
1272
1271
  if (!profile_avatar) {
1272
+ const app_id = await get_account_default_project_id(uid);
1273
1273
  const ai_module = await import(`${module_path}/ai_module/index.mjs`);
1274
1274
  ai_module.update_thumbnail('contact', doc, app_id, uid, job_id, headers, 'xuda_contacts');
1275
1275
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.323",
3
+ "version": "1.2.324",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {