@xuda.io/account_module 1.2.2043 → 1.2.2044
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 +3 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -49,6 +49,7 @@ const team_ms = await import(`${module_path}/team_module/index_ms.mjs`);
|
|
|
49
49
|
const email_ms = await import(`${module_path}/email_module/index_ms.mjs`);
|
|
50
50
|
const marketplace_ms = await import(`${module_path}/marketplace_module/index_ms.mjs`);
|
|
51
51
|
const stripe_ms = await import(`${module_path}/stripe_module/index_ms.mjs`);
|
|
52
|
+
const logs_ms = await import(`${module_path}/logs_module/index_ms.mjs`);
|
|
52
53
|
|
|
53
54
|
export const update_account_info = async function (req, job_id, headers) {
|
|
54
55
|
const { uid } = req;
|
|
@@ -784,9 +785,8 @@ export const add_account_log_util = async function (body, status, service, sourc
|
|
|
784
785
|
if (!security) {
|
|
785
786
|
if (service.substr(0, 4) === 'get_' && !body.api_pk && !body.api_sk) return;
|
|
786
787
|
}
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
logs_module.add_account_log(get_account_log_object(body, status, service, source, response_data, ip, headers, security));
|
|
788
|
+
|
|
789
|
+
logs_ms.add_account_log(get_account_log_object(body, status, service, source, response_data, ip, headers, security));
|
|
790
790
|
};
|
|
791
791
|
|
|
792
792
|
export const save_ssh_key = async function (req) {
|