@xuda.io/account_module 1.2.1596 → 1.2.1597

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 +4 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2571,6 +2571,10 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
2571
2571
  doc.profile_picture = account_info_ret.data.profile_picture;
2572
2572
  }
2573
2573
 
2574
+ if (!doc.account_type) {
2575
+ doc.account_type = account_info_ret.data.account_type;
2576
+ }
2577
+
2574
2578
  const get_pattern = async function (doc) {
2575
2579
  let ret = `default-pattern.png`;
2576
2580
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1596",
3
+ "version": "1.2.1597",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {