@xuda.io/account_module 1.2.302 → 1.2.303
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
|
@@ -106,7 +106,7 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
106
106
|
delete account_obj.account_info.gtp_token;
|
|
107
107
|
delete account_obj.account_info.client_id;
|
|
108
108
|
delete account_obj.account_info.uid;
|
|
109
|
-
|
|
109
|
+
|
|
110
110
|
if (!account_obj.account_project_id) {
|
|
111
111
|
const app_module = await import(`${module_path}/app_module/index.mjs`);
|
|
112
112
|
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);
|
|
@@ -124,7 +124,7 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
124
124
|
await removeBg({ url: account_obj.account_info?.profile_picture, uid }, job_id, headers);
|
|
125
125
|
} else {
|
|
126
126
|
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
127
|
-
const profile_avatar_ret = ai_module.update_thumbnail('account', account_obj, account_obj.account_project_id, uid, job_id, headers, 'xuda_accounts');
|
|
127
|
+
// const profile_avatar_ret = ai_module.update_thumbnail('account', account_obj, account_obj.account_project_id, uid, job_id, headers, 'xuda_accounts');
|
|
128
128
|
debugger;
|
|
129
129
|
}
|
|
130
130
|
|