@xuda.io/account_module 1.2.1318 → 1.2.1319
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 +10 -10
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1779,16 +1779,16 @@ const get_prices = function (uid, item) {
|
|
|
1779
1779
|
|
|
1780
1780
|
export const create_account_oauth_link = async function (req, job_id) {
|
|
1781
1781
|
const link = `https://accounts.google.com/o/oauth2/v2/auth?scope=https://mail.google.com/&access_type=offline&include_granted_scopes=true&response_type=code&state=${req.uid}&redirect_uri=https://${_conf.is_debug ? 'dev.' : ''}xuda.io/oauth&client_id=${_conf.gmail.clientId}`;
|
|
1782
|
-
await jobs_module.update_job(
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
);
|
|
1790
|
-
await _utils.delay(20000);
|
|
1791
|
-
debugger;
|
|
1782
|
+
// await jobs_module.update_job(
|
|
1783
|
+
// {
|
|
1784
|
+
// job_id,
|
|
1785
|
+
// current_step_name: 'creating link',
|
|
1786
|
+
// response: link,
|
|
1787
|
+
// },
|
|
1788
|
+
// global[`_account_module_ch`],
|
|
1789
|
+
// );
|
|
1790
|
+
// await _utils.delay(20000);
|
|
1791
|
+
// debugger;
|
|
1792
1792
|
return {
|
|
1793
1793
|
code: 1,
|
|
1794
1794
|
data: link,
|