@xuda.io/account_module 1.2.1264 → 1.2.1265

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 +3 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2326,7 +2326,9 @@ export const get_contacts = async function (req) {
2326
2326
  total_docs: shared_from.total_docs + requests_from.total_docs + requests_to.total_docs + contact_docs.total_docs,
2327
2327
  },
2328
2328
  };
2329
- } catch (error) {}
2329
+ } catch (err) {
2330
+ return { code: -34, data: err.message };
2331
+ }
2330
2332
  };
2331
2333
 
2332
2334
  export const archive_contact = async function (req) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1264",
3
+ "version": "1.2.1265",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {