@xuda.io/account_module 1.2.1460 → 1.2.1462

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 +5 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -193,6 +193,11 @@ export const update_account_info = async function (req, job_id, headers) {
193
193
  const save_ret = await db_module.save_couch_doc('xuda_accounts', account_obj);
194
194
 
195
195
  const ai_module = await import(`${module_path}/ai_module/index.mjs`);
196
+
197
+ if (account_obj.account_info?.profile_picture) {
198
+ if (!account_obj.account_info?.profile_avatar) {
199
+ }
200
+ }
196
201
  // if (account_obj.account_info?.profile_picture) {
197
202
  // if (!account_obj.account_info?.profile_avatar) {
198
203
  // ai_module.get_profile_avatar({ url: account_obj.account_info?.profile_picture, uid, account_obj, account_profile_info }, job_id, headers);
@@ -1254,7 +1259,6 @@ function formatPhoneWithFlag(phoneString, country = 'US') {
1254
1259
  }
1255
1260
 
1256
1261
  export const get_contact_info = async function (uid, contact_doc, _id) {
1257
- debugger;
1258
1262
  const ai_module = await import(`${module_path}/ai_module/index.mjs`);
1259
1263
  let doc = contact_doc;
1260
1264
  if (_id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1460",
3
+ "version": "1.2.1462",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {