@xuda.io/account_module 1.2.179 → 1.2.181
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 +8 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -108,6 +108,11 @@ export const update_account_info = async function (req) {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
+
// move later on to if (!account_obj.account_project_id) block
|
|
112
|
+
|
|
113
|
+
const drive_module = await import(`${module_path}/drive_module/index.mjs`);
|
|
114
|
+
await drive_module.create_drive_folder_workspace({}, job_id, headers);
|
|
115
|
+
|
|
111
116
|
const ret2 = await db_module.save_couch_doc('xuda_accounts', account_obj);
|
|
112
117
|
if (ret2.code > 0) {
|
|
113
118
|
return { code: 1300, data: 'ok' };
|
|
@@ -1165,6 +1170,9 @@ export const add_contact = async function (req) {
|
|
|
1165
1170
|
req_id,
|
|
1166
1171
|
profile_picture,
|
|
1167
1172
|
});
|
|
1173
|
+
|
|
1174
|
+
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
1175
|
+
|
|
1168
1176
|
return ret;
|
|
1169
1177
|
}
|
|
1170
1178
|
return { code: -1, data: 'contact already exist active or deleted' };
|