@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.
- package/index.mjs +4 -0
- 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
|
|