@xuda.io/account_module 1.2.113 → 1.2.115
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.js +2 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2,6 +2,7 @@ const path = require('path');
|
|
|
2
2
|
global._conf = require(path.join(process.env.XUDA_HOME, process.env.XUDA_CONFIG));
|
|
3
3
|
|
|
4
4
|
const _common = require(path.join(process.env.XUDA_HOME, 'common', 'xuda_node_common.js'));
|
|
5
|
+
const _utils = require(path.join(process.env.XUDA_HOME, 'common', 'xuda-cpi-utils.js'));
|
|
5
6
|
|
|
6
7
|
const _ = require('lodash');
|
|
7
8
|
const module_path = path.join(process.env.XUDA_HOME, 'cpi') + (!_conf.is_debug ? '/node_modules/@xuda.io' : '');
|
|
@@ -1372,6 +1373,7 @@ exports.create_account_oauth_link = async function (req, job_id) {
|
|
|
1372
1373
|
},
|
|
1373
1374
|
global[`_account_module_ch`],
|
|
1374
1375
|
);
|
|
1376
|
+
await _utils.delay(20000);
|
|
1375
1377
|
return {
|
|
1376
1378
|
code: 1,
|
|
1377
1379
|
data: link,
|