@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.
- package/index.mjs +1 -1
- 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
|
}
|