@xuda.io/account_module 1.2.201 → 1.2.203
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 +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -111,7 +111,7 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
// temp later on
|
|
114
|
+
// temp remove later on
|
|
115
115
|
const drive_module = await import(`${module_path}/drive_module/index.mjs`);
|
|
116
116
|
let drive_req = { app_id: account_obj.account_project_id, uid, path: '/' };
|
|
117
117
|
await drive_module.create_drive_folder_workspace({ ...drive_req, ...{ folder_name: 'Chat Images', is_protected: false } }, job_id, headers);
|
|
@@ -1180,6 +1180,8 @@ export const add_contact = async function (req) {
|
|
|
1180
1180
|
|
|
1181
1181
|
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
1182
1182
|
|
|
1183
|
+
const images_arr = await ai_module.create_and_upload_image_to_drive('user', 'Profile Images', ret.id, prompt, 1, uid, app_id, job_id, headers);
|
|
1184
|
+
|
|
1183
1185
|
return ret;
|
|
1184
1186
|
}
|
|
1185
1187
|
return { code: -1, data: 'contact already exist active or deleted' };
|