@xuda.io/account_module 1.2.1149 → 1.2.1151
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2476,7 +2476,8 @@ export const create_account_profile = async function (req, job_id, headers) {
|
|
|
2476
2476
|
const save_ret = await db_module.save_couch_doc('xuda_accounts', doc);
|
|
2477
2477
|
// acc_obj.active_profile_id = save_ret.data.id;
|
|
2478
2478
|
|
|
2479
|
-
return { code: 55, data: save_ret };
|
|
2479
|
+
// return { code: 55, data: save_ret };
|
|
2480
|
+
return save_ret;
|
|
2480
2481
|
} catch (err) {
|
|
2481
2482
|
return { code: -55, data: err.message };
|
|
2482
2483
|
}
|