@xuda.io/account_module 1.2.880 → 1.2.881

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2069,12 +2069,12 @@ export const create_account_oauth_link = async function (req, job_id) {
2069
2069
  };
2070
2070
  };
2071
2071
 
2072
- export const get_account_default_project_obj = async function (uid) {
2072
+ export const get_default_project_account_doc = async function (uid) {
2073
2073
  const ret = await db_module.get_couch_doc('xuda_accounts', uid);
2074
2074
  return ret.data;
2075
2075
  };
2076
2076
  export const get_account_default_project_id = async function (uid) {
2077
- const account_obj = await get_account_default_project_obj(uid);
2077
+ const account_obj = await get_default_project_account_doc(uid);
2078
2078
  return account_obj.account_project_id;
2079
2079
  };
2080
2080
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.880",
3
+ "version": "1.2.881",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {