@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.
Files changed (2) hide show
  1. package/index.mjs +3 -3
  2. 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
- const logs_module = await import(`${module_path}/logs_module/index.mjs`);
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2043",
3
+ "version": "1.2.2044",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {