@xuda.io/account_module 1.2.1604 → 1.2.1605
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 +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2011,7 +2011,9 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
2011
2011
|
contact_obj.bio = business_bio;
|
|
2012
2012
|
contact_obj.business_name = business_name;
|
|
2013
2013
|
|
|
2014
|
-
if (!name)
|
|
2014
|
+
if (!name) {
|
|
2015
|
+
name = business_name;
|
|
2016
|
+
}
|
|
2015
2017
|
}
|
|
2016
2018
|
|
|
2017
2019
|
const save_ret = await save_contact(uid, contact_obj);
|