@xuda.io/account_module 1.2.1516 → 1.2.1517

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 +3 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2614,6 +2614,9 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
2614
2614
  if (!doc.profile_avatar) {
2615
2615
  doc.profile_avatar = account_info_ret.data.profile_avatar;
2616
2616
  }
2617
+ if (!doc.profile_picture) {
2618
+ doc.profile_picture = account_info_ret.data.profile_picture;
2619
+ }
2617
2620
 
2618
2621
  const get_pattern = async function (doc) {
2619
2622
  let ret = `default-pattern.png`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1516",
3
+ "version": "1.2.1517",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {