@xuda.io/account_module 1.2.503 → 1.2.505

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
@@ -1721,8 +1721,8 @@ export const create_account_oauth_link = async function (req, job_id) {
1721
1721
  };
1722
1722
 
1723
1723
  export const get_account_default_project_obj = async function (uid) {
1724
- const { data: account_obj } = await db_module.get_couch_doc('xuda_accounts', uid);
1725
- return account_obj;
1724
+ const ret = await db_module.get_couch_doc('xuda_accounts', uid);
1725
+ return ret.data;
1726
1726
  };
1727
1727
  export const get_account_default_project_id = async function (uid) {
1728
1728
  const account_obj = await get_account_default_project_obj(uid);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.503",
3
+ "version": "1.2.505",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {