@xuda.io/account_module 1.2.1488 → 1.2.1489
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
|
@@ -2914,7 +2914,7 @@ export const unarchive_account_profile = async function (req) {
|
|
|
2914
2914
|
};
|
|
2915
2915
|
|
|
2916
2916
|
export const create_account_profile = async function (req, job_id, headers) {
|
|
2917
|
-
const { uid, profile_name, profile_signature, email_account_id, profile_picture, profile_avatar, profile_picture_obj, profile_avatar_obj, main } = req;
|
|
2917
|
+
const { uid, profile_name, profile_signature, email_account_id, profile_picture, profile_avatar, profile_picture_obj, profile_avatar_obj, main, profile_type } = req;
|
|
2918
2918
|
try {
|
|
2919
2919
|
const app_id = await get_account_default_project_id(uid);
|
|
2920
2920
|
// const { data: acc_obj } = await db_module.get_couch_doc('xuda_accounts', uid);
|
|
@@ -2926,7 +2926,7 @@ export const create_account_profile = async function (req, job_id, headers) {
|
|
|
2926
2926
|
date_created_ts: d,
|
|
2927
2927
|
ts: d,
|
|
2928
2928
|
docType: 'account_profile',
|
|
2929
|
-
|
|
2929
|
+
profile_type,
|
|
2930
2930
|
uid,
|
|
2931
2931
|
profile_name, //: profile_name || acc_obj.account_info.business_name || acc_obj.account_info.name,
|
|
2932
2932
|
profile_signature,
|