@xuda.io/account_module 1.2.1446 → 1.2.1448

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1940,7 +1940,7 @@ setTimeout(async () => {
1940
1940
  // let _design = await db_module.get_app_couch_doc_native(app_id, '_design/xuda');
1941
1941
  // ret = _design.views.ai_chat_usage;
1942
1942
  // console.log(_design.views.ai_chat_usage);
1943
- // ret = await set_contact_profile_picture(uid, 'cnt_2d21d55f8f0cdaf65a7a69f696166840', {}, null, {});
1943
+ ret = await set_contact_profile_picture(uid, 'cnt_2d21d55f8f0cdaf65a7a69f69617f532', {}, null, {});
1944
1944
  console.log(ret);
1945
1945
  }, 1000);
1946
1946
 
@@ -2059,7 +2059,7 @@ export const add_contact = async function (req, job_id, headers) {
2059
2059
 
2060
2060
  const save_ret = await save_contact(uid, contact_obj);
2061
2061
  if (!is_spam) {
2062
- await set_contact_profile_picture(uid, contact_obj._id, metadata, job_id, headers);
2062
+ set_contact_profile_picture(uid, contact_obj._id, metadata, job_id, headers);
2063
2063
  }
2064
2064
  // if (!account_info.profile_avatar) {
2065
2065
  // const ai_module = await import(`${module_path}/ai_module/index.mjs`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1446",
3
+ "version": "1.2.1448",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {