@xuda.io/account_module 1.2.776 → 1.2.777
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 +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2125,6 +2125,8 @@ export const get_user_card = async function (uid, uid_query) {
|
|
|
2125
2125
|
export const onboarding_completed = async function (req, job_id, headers) {
|
|
2126
2126
|
const { uid } = req;
|
|
2127
2127
|
try {
|
|
2128
|
+
await update_account_info(req, job_id, headers);
|
|
2129
|
+
|
|
2128
2130
|
let account_doc = await db_module.get_couch_doc_native('xuda_accounts', uid);
|
|
2129
2131
|
|
|
2130
2132
|
if (!account_doc.account_info?.profile_picture) {
|
|
@@ -2134,8 +2136,6 @@ export const onboarding_completed = async function (req, job_id, headers) {
|
|
|
2134
2136
|
if (!account_doc.account_info?.profile_avatar) {
|
|
2135
2137
|
throw new Error(`missing profile_avatar`);
|
|
2136
2138
|
}
|
|
2137
|
-
debugger;
|
|
2138
|
-
await update_account_info(req, job_id, headers);
|
|
2139
2139
|
|
|
2140
2140
|
if (!account_doc.account_project_id) {
|
|
2141
2141
|
const app_module = await import(`${module_path}/app_module/index.mjs`);
|