@xuda.io/account_module 1.2.2047 → 1.2.2049
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 +6 -14
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -44,7 +44,7 @@ const module_path = path.join(process.env.XUDA_HOME, 'cpi') + (!_conf.is_debug ?
|
|
|
44
44
|
const db_module = await import(`${module_path}/db_module/index.mjs`);
|
|
45
45
|
const ai_ms = await import(`${module_path}/ai_module/index_ms.mjs`);
|
|
46
46
|
const drive_ms = await import(`${module_path}/drive_module/index_ms.mjs`);
|
|
47
|
-
|
|
47
|
+
|
|
48
48
|
const team_ms = await import(`${module_path}/team_module/index_ms.mjs`);
|
|
49
49
|
const email_ms = await import(`${module_path}/email_module/index_ms.mjs`);
|
|
50
50
|
const marketplace_ms = await import(`${module_path}/marketplace_module/index_ms.mjs`);
|
|
@@ -2559,19 +2559,11 @@ export const pin_contact = async function (req) {
|
|
|
2559
2559
|
|
|
2560
2560
|
const contact_save_ret = await save_contact(uid, contact_doc);
|
|
2561
2561
|
|
|
2562
|
-
|
|
2563
|
-
'
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
data: {
|
|
2568
|
-
service: 'contact_pinned',
|
|
2569
|
-
to: [uid],
|
|
2570
|
-
data: await get_contact_info(uid, null, contact_id),
|
|
2571
|
-
},
|
|
2572
|
-
}),
|
|
2573
|
-
),
|
|
2574
|
-
);
|
|
2562
|
+
ws_dashboard_ms.emit_message_to_dashboard({
|
|
2563
|
+
service: 'contact_pinned',
|
|
2564
|
+
to: [uid],
|
|
2565
|
+
data: await get_contact_info(uid, null, contact_id),
|
|
2566
|
+
});
|
|
2575
2567
|
|
|
2576
2568
|
return contact_save_ret;
|
|
2577
2569
|
} catch (err) {
|