@xuda.io/account_module 1.2.506 → 1.2.508

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 +5 -5
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -33,10 +33,10 @@ export const update_account_info = async function (req, job_id, headers) {
33
33
  const { uid } = req;
34
34
  const data = req;
35
35
 
36
- delete data.gtp_token;
37
- delete data.uid;
38
- delete data.token_ret;
39
- delete data.job_id;
36
+ // delete data.gtp_token;
37
+ // delete data.uid;
38
+ // delete data.token_ret;
39
+ // delete data.job_id;
40
40
  delete data.profile_avatar;
41
41
 
42
42
  function validate_input(string, max_length, is_mandatory, is_pass) {
@@ -148,7 +148,7 @@ export const update_account_info = async function (req, job_id, headers) {
148
148
 
149
149
  if (!account_obj.account_project_id) {
150
150
  const app_module = await import(`${module_path}/app_module/index.mjs`);
151
- debugger;
151
+
152
152
  const ret = await app_module.create_project({ token_ret: req.token_ret, uid, data: { app_name: `Account ${uid} main project`, is_account_project: true, app_plugins_purchased: [' @xuda.io/xuda-dbs-plugin-xuda', '@xuda.io/xuda-framework-plugin-tailwind'] } }, job_id, headers);
153
153
  if (ret.code > -1) {
154
154
  account_obj.account_project_id = ret.data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.506",
3
+ "version": "1.2.508",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {