@xuda.io/account_module 1.2.227 → 1.2.229

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 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1164,6 +1164,7 @@ export const delete_contact = async function (req) {
1164
1164
 
1165
1165
  export const add_contact = async function (req, job_id, headers) {
1166
1166
  try {
1167
+ debugger;
1167
1168
  const { uid, email, name, stat, contact_uid, req_id, profile_picture, context } = req;
1168
1169
  const contact_ret = await db_module.get_couch_view_raw('xuda_contacts', 'contacts_by_email_address', { key: [uid, email] });
1169
1170
 
@@ -1190,9 +1191,7 @@ export const add_contact = async function (req, job_id, headers) {
1190
1191
  const app_id = await get_account_default_project_id(uid);
1191
1192
 
1192
1193
  const ai_module = await import(`${module_path}/ai_module/index.mjs`);
1193
- // const prompt = ``;
1194
- // 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);
1195
- debugger;
1194
+
1196
1195
  ai_module.update_thumbnail('contact', doc, app_id, uid, job_id, headers, 'xuda_contacts');
1197
1196
 
1198
1197
  return ret;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.227",
3
+ "version": "1.2.229",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {