@xuda.io/account_module 1.2.1654 → 1.2.1655
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2076,7 +2076,7 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
2076
2076
|
email,
|
|
2077
2077
|
name: cached_contact?.name || name,
|
|
2078
2078
|
stat: stat || 3,
|
|
2079
|
-
date_created: new Date(metadata.email_data).getTime(),
|
|
2079
|
+
date_created: metadata.email_data ? new Date(metadata.email_data).getTime() : d,
|
|
2080
2080
|
ts: d,
|
|
2081
2081
|
docType: 'contact',
|
|
2082
2082
|
contact_uid,
|