@xuda.io/account_module 1.2.317 → 1.2.319

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -114,7 +114,7 @@ export const update_account_info = async function (req, job_id, headers) {
114
114
 
115
115
  if (!account_obj.account_project_id) {
116
116
  const app_module = await import(`${module_path}/app_module/index.mjs`);
117
- debugger;
117
+
118
118
  const ret = await app_module.create_project({ token_ret: req.token_ret, uid, data: { app_name: `Account ${uid} main project`, is_account_project: true, app_plugins_purchased: [' @xuda.io/xuda-dbs-plugin-xuda', '@xuda.io/xuda-framework-plugin-tailwind'] } }, job_id, headers);
119
119
  if (ret.code > -1) {
120
120
  account_obj.account_project_id = ret.data;
@@ -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) {
@@ -1263,6 +1263,7 @@ export const add_contact = async function (req, job_id, headers) {
1263
1263
  profile_picture,
1264
1264
  context,
1265
1265
  headers,
1266
+ source,
1266
1267
  };
1267
1268
  const ret = await db_module.save_couch_doc('xuda_contacts', doc);
1268
1269
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.317",
3
+ "version": "1.2.319",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {