@xuda.io/account_module 1.2.318 → 1.2.320

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
@@ -1231,7 +1231,7 @@ export const delete_contact = async function (req) {
1231
1231
  export const add_contact = async function (req, job_id, headers) {
1232
1232
  try {
1233
1233
  debugger;
1234
- const { uid, email, name, stat, contact_uid, req_id, context } = req;
1234
+ const { uid, email, name, stat, contact_uid, req_id, context, source } = req;
1235
1235
  const contact_ret = await db_module.get_couch_view_raw('xuda_contacts', 'contacts_by_email_address', { key: [uid, email] });
1236
1236
 
1237
1237
  if (contact_ret.rows.length) {
@@ -1261,8 +1261,10 @@ export const add_contact = async function (req, job_id, headers) {
1261
1261
  uid,
1262
1262
  req_id,
1263
1263
  profile_picture,
1264
+ profile_avatar,
1264
1265
  context,
1265
1266
  headers,
1267
+ source,
1266
1268
  };
1267
1269
  const ret = await db_module.save_couch_doc('xuda_contacts', doc);
1268
1270
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.318",
3
+ "version": "1.2.320",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {