@xuda.io/account_module 1.2.314 → 1.2.316
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 +5 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -103,9 +103,14 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
103
103
|
if (!change) {
|
|
104
104
|
return { code: 1300, data: 'no change' };
|
|
105
105
|
}
|
|
106
|
+
|
|
107
|
+
//clean up received from req
|
|
106
108
|
delete account_obj.account_info.gtp_token;
|
|
107
109
|
delete account_obj.account_info.client_id;
|
|
108
110
|
delete account_obj.account_info.uid;
|
|
111
|
+
delete account_obj.account_info.token_ret;
|
|
112
|
+
delete account_obj.account_info.job_id;
|
|
113
|
+
delete account_obj.account_info.app_id;
|
|
109
114
|
|
|
110
115
|
if (!account_obj.account_project_id) {
|
|
111
116
|
const app_module = await import(`${module_path}/app_module/index.mjs`);
|
|
@@ -126,7 +131,6 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
126
131
|
}
|
|
127
132
|
} else {
|
|
128
133
|
ai_module.update_thumbnail('account', account_obj, account_obj.account_project_id, uid, job_id, headers, 'xuda_accounts');
|
|
129
|
-
debugger;
|
|
130
134
|
}
|
|
131
135
|
|
|
132
136
|
// temp remove later on
|