@xuda.io/ai_module 1.1.4746 → 1.1.4747

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 +1 -4
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -6364,10 +6364,7 @@ export const modify_profile_avatar = async function (req, job_id, headers) {
6364
6364
  metadata = account_info;
6365
6365
  }
6366
6366
 
6367
- // let account_obj = await db_module.get_couch_doc_native('xuda_accounts', uid);
6368
- // const ret = await get_profile_avatar({ prompt, url: account_obj.account_info?.profile_avatar, uid, account_obj, account_profile_info }, job_id, headers);
6369
- // return ret;
6370
-
6367
+ metadata.is_user = true;
6371
6368
  return await get_profile_avatar(url, uid, prompt, account_profile_info, account_type, docType, _id, metadata, account_info, name, account_info.email, job_id, headers);
6372
6369
  } catch (err) {
6373
6370
  return { code: -111, data: err.message };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4746",
3
+ "version": "1.1.4747",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",