@xuda.io/account_module 1.2.415 → 1.2.417
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 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -136,7 +136,7 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
136
136
|
await drive_module.create_drive_folder_user({ ...drive_req, ...{ folder_name: 'Chat Attachments', is_system: true } }, job_id, headers);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
|
|
140
140
|
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
141
141
|
if (account_obj.account_info?.profile_picture) {
|
|
142
142
|
if (!account_obj.account_info?.profile_avatar) {
|
|
@@ -1195,7 +1195,7 @@ export const get_contacts = async function (req) {
|
|
|
1195
1195
|
}
|
|
1196
1196
|
|
|
1197
1197
|
const contacts = await db_module.find_couch_query('xuda_contacts', opt);
|
|
1198
|
-
|
|
1198
|
+
|
|
1199
1199
|
for await (let doc of contacts.docs) {
|
|
1200
1200
|
if (doc.contact_uid) {
|
|
1201
1201
|
const account_ret = await get_account_name({ uid_query: doc.contact_uid });
|
|
@@ -1317,7 +1317,6 @@ export const archive_contact = async function (req) {
|
|
|
1317
1317
|
|
|
1318
1318
|
export const add_contact = async function (req, job_id, headers) {
|
|
1319
1319
|
try {
|
|
1320
|
-
debugger;
|
|
1321
1320
|
const { uid, email, name, stat, contact_uid, context, source, team_req_id } = req;
|
|
1322
1321
|
const contact_ret = await db_module.get_couch_view_raw('xuda_contacts', 'contacts_by_email_address', { key: [uid, email] });
|
|
1323
1322
|
|