@xuda.io/account_module 1.2.1052 → 1.2.1054

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 +3 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2459,6 +2459,7 @@ export const create_account_profile = async function (req, job_id, headers) {
2459
2459
  profile_signature,
2460
2460
  profile_email,
2461
2461
  profile_picture,
2462
+ profile_avatar,
2462
2463
  };
2463
2464
  const save_ret = await db_module.save_couch_doc('xuda_accounts', doc);
2464
2465
  // acc_obj.active_profile_id = save_ret.data.id;
@@ -2477,12 +2478,12 @@ setTimeout(async () => {
2477
2478
 
2478
2479
  // ret = await get_account_ai_usage({ uid });
2479
2480
  // ret = await create_account_profile({ uid });
2480
- // ret = await get_profiles({ uid });
2481
+ // ret = await get_account_profiles({ uid });
2481
2482
 
2482
2483
  console.log(ret);
2483
2484
  }, 1000);
2484
2485
 
2485
- export const get_profiles = async function (req) {
2486
+ export const get_account_profiles = async function (req) {
2486
2487
  const { _id, uid, profile_name, limit, skip, bookmark, search, filter_type = 'all', profile_id } = req;
2487
2488
 
2488
2489
  if (_id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1052",
3
+ "version": "1.2.1054",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {