@xuda.io/account_module 1.2.1100 → 1.2.1102

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
@@ -2711,7 +2711,8 @@ export const get_account_profiles = async function (req) {
2711
2711
  export const archive_account_profile = async function (req) {
2712
2712
  const { uid, profile_id } = req;
2713
2713
  try {
2714
- await validate_share_exist(uid, 'profile', profile_id);
2714
+ const team_module = await import(`${module_path}/team_module/index.mjs`);
2715
+ await team_module.validate_share_exist(uid, 'profile', profile_id);
2715
2716
 
2716
2717
  var account_profile_doc = await db_module.get_couch_doc_native('xuda_accounts', profile_id);
2717
2718
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1100",
3
+ "version": "1.2.1102",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {