@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.
- package/index.mjs +1 -1
- 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
|
}
|