@xuda.io/account_module 1.2.1166 → 1.2.1167
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 +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -592,7 +592,8 @@ export const get_account_name = async function (req) {
|
|
|
592
592
|
date_created_ts,
|
|
593
593
|
};
|
|
594
594
|
if (data.data.account_info) {
|
|
595
|
-
const { first_name, last_name, email, phone_number, profile_picture, profile_avatar, username, website, country, bio, industry, account_type, address, city, state, zip, business_name, auto_respond, auto_respond_mode, auto_respond_agents, avatar_source } =
|
|
595
|
+
const { first_name, last_name, email, phone_number, profile_picture, profile_avatar, username, website, country, bio, industry, account_type, address, city, state, zip, business_name, auto_respond, auto_respond_mode, auto_respond_agents, avatar_source, active_account_profile_id } =
|
|
596
|
+
data.data.account_info;
|
|
596
597
|
|
|
597
598
|
obj = {
|
|
598
599
|
_id: data.data._id,
|
|
@@ -623,6 +624,7 @@ export const get_account_name = async function (req) {
|
|
|
623
624
|
auto_respond_agents,
|
|
624
625
|
// email,// email?.[0] || '',
|
|
625
626
|
avatar_source,
|
|
627
|
+
active_account_profile_id,
|
|
626
628
|
};
|
|
627
629
|
}
|
|
628
630
|
return { code: 1, data: obj }; //is_online: data?.data?.socket_id ? true : false
|