@xuda.io/account_module 1.2.1679 → 1.2.1680
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 -26
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -627,31 +627,8 @@ export const get_account_name = async function (req) {
|
|
|
627
627
|
date_created_ts,
|
|
628
628
|
};
|
|
629
629
|
if (data.data.account_info) {
|
|
630
|
-
const {
|
|
631
|
-
|
|
632
|
-
last_name,
|
|
633
|
-
email,
|
|
634
|
-
phone_number,
|
|
635
|
-
profile_picture,
|
|
636
|
-
profile_avatar,
|
|
637
|
-
username,
|
|
638
|
-
website,
|
|
639
|
-
country,
|
|
640
|
-
bio,
|
|
641
|
-
industry,
|
|
642
|
-
account_type,
|
|
643
|
-
address,
|
|
644
|
-
city,
|
|
645
|
-
state,
|
|
646
|
-
zip,
|
|
647
|
-
business_name,
|
|
648
|
-
auto_respond,
|
|
649
|
-
auto_respond_mode,
|
|
650
|
-
auto_respond_agents,
|
|
651
|
-
avatar_source,
|
|
652
|
-
active_account_profile_id,
|
|
653
|
-
contact_mood_level,
|
|
654
|
-
} = data.data.account_info;
|
|
630
|
+
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 } =
|
|
631
|
+
data.data.account_info;
|
|
655
632
|
|
|
656
633
|
obj = {
|
|
657
634
|
_id: data.data._id,
|
|
@@ -683,7 +660,6 @@ export const get_account_name = async function (req) {
|
|
|
683
660
|
// email,// email?.[0] || '',
|
|
684
661
|
avatar_source,
|
|
685
662
|
active_account_profile_id,
|
|
686
|
-
contact_mood_level,
|
|
687
663
|
};
|
|
688
664
|
}
|
|
689
665
|
return { code: 1, data: obj }; //is_online: data?.data?.socket_id ? true : false
|