@xuda.io/account_module 1.2.204 → 1.2.206

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.
Files changed (2) hide show
  1. package/index.mjs +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1178,8 +1178,9 @@ export const add_contact = async function (req, job_id, headers) {
1178
1178
  profile_picture,
1179
1179
  });
1180
1180
 
1181
- const ai_module = await import(`${module_path}/ai_module/index.mjs`);
1181
+ const app_id = await get_account_default_project_id(uid);
1182
1182
 
1183
+ const ai_module = await import(`${module_path}/ai_module/index.mjs`);
1183
1184
  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
1185
 
1185
1186
  return ret;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.204",
3
+ "version": "1.2.206",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {