@xuda.io/account_module 1.2.160 → 1.2.162
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 +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1415,10 +1415,10 @@ export const create_account_oauth_link = async function (req, job_id) {
|
|
|
1415
1415
|
|
|
1416
1416
|
export const get_account_default_project_obj = async function (uid) {
|
|
1417
1417
|
const { data: account_obj } = await db_module.get_couch_doc('xuda_accounts', uid);
|
|
1418
|
-
return account_obj
|
|
1418
|
+
return account_obj;
|
|
1419
1419
|
};
|
|
1420
1420
|
export const get_account_default_project_id = async function (uid) {
|
|
1421
|
-
const account_obj = await
|
|
1421
|
+
const account_obj = await get_account_default_project_obj(uid);
|
|
1422
1422
|
return account_obj.account_project_id;
|
|
1423
1423
|
};
|
|
1424
1424
|
|