@xuda.io/account_module 1.2.788 → 1.2.789
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 +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -585,7 +585,7 @@ export const get_account_name = async function (req) {
|
|
|
585
585
|
date_created_ts,
|
|
586
586
|
};
|
|
587
587
|
if (data.data.account_info) {
|
|
588
|
-
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 } = data.data.account_info;
|
|
588
|
+
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 } = data.data.account_info;
|
|
589
589
|
|
|
590
590
|
obj = {
|
|
591
591
|
_id: data.data._id,
|
|
@@ -615,6 +615,7 @@ export const get_account_name = async function (req) {
|
|
|
615
615
|
auto_respond_mode,
|
|
616
616
|
auto_respond_agents,
|
|
617
617
|
primary_email: email?.[0] || '',
|
|
618
|
+
avatar_source,
|
|
618
619
|
};
|
|
619
620
|
}
|
|
620
621
|
return { code: 1, data: obj }; //is_online: data?.data?.socket_id ? true : false
|