@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.
- package/index.mjs +3 -1
- 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 (
|
|
2329
|
+
} catch (err) {
|
|
2330
|
+
return { code: -34, data: err.message };
|
|
2331
|
+
}
|
|
2330
2332
|
};
|
|
2331
2333
|
|
|
2332
2334
|
export const archive_contact = async function (req) {
|