@xuda.io/account_module 1.2.504 → 1.2.506
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.
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -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
|
-
|
|
151
|
+
debugger;
|
|
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;
|
|
@@ -1722,7 +1722,7 @@ export const create_account_oauth_link = async function (req, job_id) {
|
|
|
1722
1722
|
|
|
1723
1723
|
export const get_account_default_project_obj = async function (uid) {
|
|
1724
1724
|
const ret = await db_module.get_couch_doc('xuda_accounts', uid);
|
|
1725
|
-
return
|
|
1725
|
+
return ret.data;
|
|
1726
1726
|
};
|
|
1727
1727
|
export const get_account_default_project_id = async function (uid) {
|
|
1728
1728
|
const account_obj = await get_account_default_project_obj(uid);
|