@xuda.io/account_module 1.2.776 → 1.2.778

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
@@ -933,6 +933,7 @@ export const search_users = async function (req) {
933
933
  }
934
934
 
935
935
  try {
936
+ debugger;
936
937
  var ret = await db_module.find_couch_query('xuda_accounts', opt);
937
938
 
938
939
  let docs = [];
@@ -2125,6 +2126,8 @@ export const get_user_card = async function (uid, uid_query) {
2125
2126
  export const onboarding_completed = async function (req, job_id, headers) {
2126
2127
  const { uid } = req;
2127
2128
  try {
2129
+ await update_account_info(req, job_id, headers);
2130
+
2128
2131
  let account_doc = await db_module.get_couch_doc_native('xuda_accounts', uid);
2129
2132
 
2130
2133
  if (!account_doc.account_info?.profile_picture) {
@@ -2134,8 +2137,6 @@ export const onboarding_completed = async function (req, job_id, headers) {
2134
2137
  if (!account_doc.account_info?.profile_avatar) {
2135
2138
  throw new Error(`missing profile_avatar`);
2136
2139
  }
2137
- debugger;
2138
- await update_account_info(req, job_id, headers);
2139
2140
 
2140
2141
  if (!account_doc.account_project_id) {
2141
2142
  const app_module = await import(`${module_path}/app_module/index.mjs`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.776",
3
+ "version": "1.2.778",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {