@xuda.io/account_module 1.2.1265 → 1.2.1267

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
@@ -2191,7 +2191,7 @@ export const get_contacts = async function (req) {
2191
2191
  try {
2192
2192
  const account_profile_info = await get_active_account_profile_info(uid);
2193
2193
  if (_id) {
2194
- let data = await db_module.get_couch_doc('xuda_contacts', _id);
2194
+ let data = { code: 34, data: await get_contact(uid, _id) };
2195
2195
  return data;
2196
2196
  }
2197
2197
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1265",
3
+ "version": "1.2.1267",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {