@xuda.io/account_module 1.2.164 → 1.2.165

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -498,7 +498,7 @@ export const get_account_info = async function (req) {
498
498
  };
499
499
 
500
500
  export const get_account_name = async function (req) {
501
- const data = await db_module.get_couch_doc('xuda_accounts', req.uid_query);
501
+ const data = await db_module.get_couch_doc('xuda_accounts', req.uid_query || req.uid);
502
502
  if (data.code < 0) {
503
503
  return data;
504
504
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.164",
3
+ "version": "1.2.165",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {