@xuda.io/account_module 1.2.167 → 1.2.168

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 +0 -20
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -430,26 +430,6 @@ export const get_account_data = async function (req) {
430
430
  stripe_connect_account_status: acc_obj?.stripe_connect_account_status,
431
431
  };
432
432
 
433
- // if (account_ret.data.stripe_membership_subscription_id) {
434
- // const subscription_ret = await get_stripe_subscription(
435
- // account_ret.data.stripe_membership_subscription_id
436
- // );
437
-
438
- // if (subscription_ret.code > 0) {
439
- // ret.data.stripe_membership_subscription_id = subscription_ret.data.id;
440
- // }
441
- // }
442
-
443
- // if (!acc_obj.account_project_id && req.token_ret) {
444
- // let = account_obj = acc_obj;
445
- // const app_module = await import(`${module_path}/app_module/index.mjs`);
446
- // const ret = await app_module.create_project({ token_ret: req.token_ret, uid, data: { app_name: `Account ${uid} main project`, is_account_project: true } });
447
- // if (ret.code > -1) {
448
- // account_obj.account_project_id = ret.data;
449
- // const ret2 = await db_module.save_couch_doc('xuda_accounts', account_obj);
450
- // }
451
- // }
452
-
453
433
  return ret;
454
434
  } catch (error) {
455
435
  return { code: -1, data: error };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.167",
3
+ "version": "1.2.168",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {