@xuda.io/account_module 1.2.781 → 1.2.783

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
@@ -1242,6 +1242,7 @@ const get_contact_pattern = async function (doc) {
1242
1242
  let ret = `default-pattern.png`;
1243
1243
 
1244
1244
  if (doc.my_contact) {
1245
+ debugger;
1245
1246
  if (doc.account_type === 'business') {
1246
1247
  ret = doc.profile_picture;
1247
1248
  } else {
@@ -1251,9 +1252,9 @@ const get_contact_pattern = async function (doc) {
1251
1252
  break;
1252
1253
 
1253
1254
  default:
1255
+ ret = `my-pattern.png`;
1254
1256
  break;
1255
1257
  }
1256
- ret = `my-pattern.png`;
1257
1258
  }
1258
1259
  } else if (doc.shared_from_uid) {
1259
1260
  const shared_from_uid_ret = await get_account_name({ uid_query: doc.shared_from_uid });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.781",
3
+ "version": "1.2.783",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {