@xuda.io/account_module 1.2.2112 → 1.2.2113

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1716,7 +1716,8 @@ export const get_user_name = async function (uid) {
1716
1716
  }
1717
1717
  };
1718
1718
 
1719
- export const get_user_card = async function (uid, uid_query) {
1719
+ export const get_user_card = async function (req) {
1720
+ const { uid, uid_query } = req;
1720
1721
  if (uid === uid_query) return await get_user_contact(uid, uid_query);
1721
1722
 
1722
1723
  let user_contact_obj;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2112",
3
+ "version": "1.2.2113",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {